From: Christoph Lameter Date: Sun, 8 Jan 2006 09:00:38 +0000 (-0800) Subject: [PATCH] slab: remove nested #ifdef CONFIG_NUMA X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bec6b0c89b234090681a4516e20ac5debe3e7c59;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [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: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 0b98f428b07..5eeeadd9f66 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -1883,7 +1883,6 @@ bad: static inline void free_zone_pagesets(int cpu) { -#ifdef CONFIG_NUMA struct zone *zone; for_each_zone(zone) { @@ -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,