Re: [PATCH 2/2] kprobes: check CONFIG_FREEZER instead of CONFIG_PM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Rafael J. Wysocki <rjw@xxxxxxx> wrote:

> From: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
> 
> 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@xxxxxxxxx>
> Signed-off-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
> Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>
> ---
>  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@xxxxxxx>

	Ingo
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux