lkml.org 
[lkml]   [2009]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] kprobes: check CONFIG_FREEZER instead of CONFIG_PM

* Rafael J. Wysocki <rjw@sisk.pl> wrote:

> From: Masami Hiramatsu <mhiramat@redhat.com>
>
> 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@gmail.com>
> Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
> Signed-off-by: Rafael J. Wysocki <rjw@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@elte.hu>

Ingo


\
 
 \ /
  Last update: 2009-01-07 13:21    [W:0.095 / U:6.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site