diff options
author | Nigel Cunningham <ncunningham@linuxmail.org> | 2006-12-06 20:34:23 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 08:39:27 -0800 |
commit | 7dfb71030f7636a0d65200158113c37764552f93 (patch) | |
tree | 276b812903d377b16d8828e888552fd256f48aab /mm | |
parent | 8a05aac2631aa0e6494d9dc990f8c68ed8b8fde7 (diff) | |
download | kernel_samsung_smdk4412-7dfb71030f7636a0d65200158113c37764552f93.zip kernel_samsung_smdk4412-7dfb71030f7636a0d65200158113c37764552f93.tar.gz kernel_samsung_smdk4412-7dfb71030f7636a0d65200158113c37764552f93.tar.bz2 |
[PATCH] Add include/linux/freezer.h and move definitions from sched.h
Move process freezing functions from include/linux/sched.h to freezer.h, so
that modifications to the freezer or the kernel configuration don't require
recompiling just about everything.
[akpm@osdl.org: fix ueagle driver]
Signed-off-by: Nigel Cunningham <nigel@suspend2.net>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/pdflush.c | 1 | ||||
-rw-r--r-- | mm/vmscan.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/mm/pdflush.c b/mm/pdflush.c index b02102f..8ce0900 100644 --- a/mm/pdflush.c +++ b/mm/pdflush.c @@ -21,6 +21,7 @@ #include <linux/writeback.h> // Prototypes pdflush_operation() #include <linux/kthread.h> #include <linux/cpuset.h> +#include <linux/freezer.h> /* diff --git a/mm/vmscan.c b/mm/vmscan.c index 2a6a79f..f6616e8 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -36,6 +36,7 @@ #include <linux/rwsem.h> #include <linux/delay.h> #include <linux/kthread.h> +#include <linux/freezer.h> #include <asm/tlbflush.h> #include <asm/div64.h> |