Subject: Re: [PATCH] sched/cpuacct: Check for NULL when using task_pt_regs()

From: Ingo Molnar <[email-masked]>
Date: Wed, 13 Apr 2016 09:43:19 +0200

* Srikar Dronamraju <[email-masked]> wrote:

> * Anton Blanchard <[email-masked]> [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 <[email-masked]>
> 
> Works for me too.
> 
> Reported-and-Tested-by: Srikar Dronamraju <[email-masked]>

Could someone please re-send the fix, because it has not reached me nor lkml.

Thanks,

	Ingo