[linux-pm] [PATCH 2/2] kprobes: check CONFIG_FREEZER instead of CONFIG_PM

Len Brown lenb at kernel.org
Fri Jan 9 12:30:56 PST 2009


> > Check CONFIG_FREEZER instead of CONFIG_PM because kprobe booster
> > depends on freeze_processes() and thaw_processes() when CONFIG_PREEMPT=y.
> > 
> > This fixes a linkage error which occurs when CONFIG_PREEMPT=y, CONFIG_PM=y
> > and CONFIG_FREEZER=n.
> > 
> > Reported-by: Cheng Renquan <crquan at gmail.com>
> > Signed-off-by: Masami Hiramatsu <mhiramat at redhat.com>
> > Signed-off-by: Rafael J. Wysocki <rjw at sisk.pl>
> > ---
> >  arch/ia64/kernel/kprobes.c |    2 +-
> >  arch/x86/kernel/kprobes.c  |    2 +-
> >  kernel/kprobes.c           |    2 +-
> >  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> looks good, the x86 bits:
> 
> Acked-by: Ingo Molnar <mingo at elte.hu>

man, we have too many config options:-)

applied.
thanks,
Len Brown, Intel Open Source Technology Center




More information about the linux-pm mailing list