Skip to content

Commit

Permalink
[PATCH] slab: remove nested #ifdef CONFIG_NUMA
Browse files Browse the repository at this point in the history
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: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Christoph Lameter authored and Linus Torvalds committed Jan 9, 2006
1 parent b28a02d commit bec6b0c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1883,7 +1883,6 @@ static int __devinit process_zones(int cpu)

static inline void free_zone_pagesets(int cpu)
{
#ifdef CONFIG_NUMA
struct zone *zone;

for_each_zone(zone) {
Expand All @@ -1892,7 +1891,6 @@ static inline void free_zone_pagesets(int cpu)
zone_pcp(zone, cpu) = NULL;
kfree(pset);
}
#endif
}

static int __devinit pageset_cpuup_callback(struct notifier_block *nfb,
Expand Down

0 comments on commit bec6b0c

Please sign in to comment.