[PATCH] sched/cpuacct: Check for NULL when using task_pt_regs()
Srikar Dronamraju
srikar at linux.vnet.ibm.com
Wed Apr 6 23:26:37 AEST 2016
* Anton Blanchard <anton at samba.org> [2016-04-06 21:59:50]:
> Looks good, and the patch below does fix the oops for me.
>
> Anton
> --
>
> task_pt_regs() can return NULL for kernel threads, so add a check.
> This fixes an oops at boot on ppc64.
>
> Signed-off-by: Anton Blanchard <anton at samba.org>
Works for me too.
Reported-and-Tested-by: Srikar Dronamraju <srikar at linux.vnet.ibm.com>
--
Thanks and Regards
Srikar Dronamraju
More information about the Linuxppc-dev
mailing list