Commit bec6b0c8 authored by Christoph Lameter's avatar Christoph Lameter Committed by Linus Torvalds

[PATCH] slab: remove nested #ifdef CONFIG_NUMA

For some reason there is an #ifdef CONFIG_NUMA within another #ifdef
CONFIG_NUMA in the page allocator.  Remove innermost #ifdef CONFIG_NUMA
Signed-off-by: default avatarChristoph Lameter <clameter@sgi.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b28a02de
...@@ -1883,7 +1883,6 @@ static int __devinit process_zones(int cpu) ...@@ -1883,7 +1883,6 @@ static int __devinit process_zones(int cpu)
static inline void free_zone_pagesets(int cpu) static inline void free_zone_pagesets(int cpu)
{ {
#ifdef CONFIG_NUMA
struct zone *zone; struct zone *zone;
for_each_zone(zone) { for_each_zone(zone) {
...@@ -1892,7 +1891,6 @@ static inline void free_zone_pagesets(int cpu) ...@@ -1892,7 +1891,6 @@ static inline void free_zone_pagesets(int cpu)
zone_pcp(zone, cpu) = NULL; zone_pcp(zone, cpu) = NULL;
kfree(pset); kfree(pset);
} }
#endif
} }
static int __devinit pageset_cpuup_callback(struct notifier_block *nfb, static int __devinit pageset_cpuup_callback(struct notifier_block *nfb,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment