diff options
author | Chandra Seetharaman <sekharan@us.ibm.com> | 2006-06-27 02:54:10 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-27 17:32:41 -0700 |
commit | 26c2143b63b8078d08d562733716de142927e17a (patch) | |
tree | 6a2add2bca5bffbd33a0465fd934fffa34a695e9 /mm/page-writeback.c | |
parent | 74b85f3790aa2550c617fe14439482e13e615fa0 (diff) | |
download | kernel_samsung_espresso10-26c2143b63b8078d08d562733716de142927e17a.zip kernel_samsung_espresso10-26c2143b63b8078d08d562733716de142927e17a.tar.gz kernel_samsung_espresso10-26c2143b63b8078d08d562733716de142927e17a.tar.bz2 |
[PATCH] cpu hotplug: make cpu_notifier related notifier calls __cpuinit only
Make notifier_calls associated with cpu_notifier as __cpuinit.
__cpuinit makes sure that the function is init time only unless
CONFIG_HOTPLUG_CPU is defined.
[akpm@osdl.org: section fix]
Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Cc: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/page-writeback.c')
-rw-r--r-- | mm/page-writeback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 8ac6bfb..4ec7026 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c @@ -516,7 +516,7 @@ static void set_ratelimit(void) ratelimit_pages = (4096 * 1024) / PAGE_CACHE_SIZE; } -static int +static int __cpuinit ratelimit_handler(struct notifier_block *self, unsigned long u, void *v) { set_ratelimit(); |