diff options
author | Len Brown <len.brown@intel.com> | 2009-01-16 14:45:34 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-01-16 14:45:34 -0500 |
commit | 88d998c264722cd6e8fafa42aee191f7d9194960 (patch) | |
tree | 72cfd34df16be3e6778ab585c8324e8f5677fe21 /kernel | |
parent | 79491ca416347f9e3c51993db556ba78bef44afa (diff) | |
parent | d08ca2ca743f324eceba59e93188f9439e966bce (diff) |
Merge branch 'misc' into release
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/kprobes.c | 2 | ||||
-rw-r--r-- | kernel/power/Makefile | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/kernel/kprobes.c b/kernel/kprobes.c index 1b9cbdc0127..7ba8cd9845c 100644 --- a/kernel/kprobes.c +++ b/kernel/kprobes.c @@ -123,7 +123,7 @@ static int collect_garbage_slots(void); static int __kprobes check_safety(void) { int ret = 0; -#if defined(CONFIG_PREEMPT) && defined(CONFIG_PM) +#if defined(CONFIG_PREEMPT) && defined(CONFIG_FREEZER) ret = freeze_processes(); if (ret == 0) { struct task_struct *p, *q; diff --git a/kernel/power/Makefile b/kernel/power/Makefile index 597823b5b70..d7a10167a25 100644 --- a/kernel/power/Makefile +++ b/kernel/power/Makefile @@ -4,7 +4,8 @@ EXTRA_CFLAGS += -DDEBUG endif obj-y := main.o -obj-$(CONFIG_PM_SLEEP) += process.o console.o +obj-$(CONFIG_PM_SLEEP) += console.o +obj-$(CONFIG_FREEZER) += process.o obj-$(CONFIG_HIBERNATION) += swsusp.o disk.o snapshot.o swap.o user.o obj-$(CONFIG_MAGIC_SYSRQ) += poweroff.o |