* Len Brown wrote: > > > 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 > > > Signed-off-by: Masami Hiramatsu > > > Signed-off-by: Rafael J. Wysocki > > > --- > > > 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 > > man, we have too many config options:-) the non-x86 bits (kernel/kprobes.c) are crappy though, and broke -rc4 allnoconfig: kernel/built-in.o: In function `collect_garbage_slots': kprobes.c:(.kprobes.text+0x16e4): undefined reference to `freeze_processes' kprobes.c:(.kprobes.text+0x16f2): undefined reference to `thaw_processes' kprobes.c:(.kprobes.text+0x176b): undefined reference to `thaw_processes' Could someone please fix all of this without #ifdefs? Ingo