diff options
author | Ashok Raj <ashok.raj@intel.com> | 2006-02-01 06:04:44 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-01 11:53:09 -0500 |
commit | 6292d9aaf3047f1abd970bc64ab6d952eda258ac (patch) | |
tree | 2ea2e47572ee8addca7624c6d1e0823449f6f58d /mm | |
parent | 88356e908521a84b2220c9e8850d1a356a851aa9 (diff) |
[PATCH] __cpuinit functions wrongly marked __meminit
__meminit has overzelously been modified and crept its way into marking
cpuup callbacks as __meminit.
Signed-off-by: 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')
-rw-r--r-- | mm/page_alloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index df54e2fc8ee0..44b4eb4202d9 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -1799,7 +1799,7 @@ void zonetable_add(struct zone *zone, int nid, int zid, unsigned long pfn, | |||
1799 | memmap_init_zone((size), (nid), (zone), (start_pfn)) | 1799 | memmap_init_zone((size), (nid), (zone), (start_pfn)) |
1800 | #endif | 1800 | #endif |
1801 | 1801 | ||
1802 | static int __meminit zone_batchsize(struct zone *zone) | 1802 | static int __cpuinit zone_batchsize(struct zone *zone) |
1803 | { | 1803 | { |
1804 | int batch; | 1804 | int batch; |
1805 | 1805 | ||
@@ -1893,7 +1893,7 @@ static struct per_cpu_pageset | |||
1893 | * Dynamically allocate memory for the | 1893 | * Dynamically allocate memory for the |
1894 | * per cpu pageset array in struct zone. | 1894 | * per cpu pageset array in struct zone. |
1895 | */ | 1895 | */ |
1896 | static int __meminit process_zones(int cpu) | 1896 | static int __cpuinit process_zones(int cpu) |
1897 | { | 1897 | { |
1898 | struct zone *zone, *dzone; | 1898 | struct zone *zone, *dzone; |
1899 | 1899 | ||
@@ -1934,7 +1934,7 @@ static inline void free_zone_pagesets(int cpu) | |||
1934 | } | 1934 | } |
1935 | } | 1935 | } |
1936 | 1936 | ||
1937 | static int __meminit pageset_cpuup_callback(struct notifier_block *nfb, | 1937 | static int __cpuinit pageset_cpuup_callback(struct notifier_block *nfb, |
1938 | unsigned long action, | 1938 | unsigned long action, |
1939 | void *hcpu) | 1939 | void *hcpu) |
1940 | { | 1940 | { |