diff options
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 2273952300d4..27ec7a1b8022 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -701,7 +701,6 @@ void drain_node_pages(int nodeid) | |||
701 | } | 701 | } |
702 | #endif | 702 | #endif |
703 | 703 | ||
704 | #if defined(CONFIG_PM) || defined(CONFIG_HOTPLUG_CPU) | ||
705 | static void __drain_pages(unsigned int cpu) | 704 | static void __drain_pages(unsigned int cpu) |
706 | { | 705 | { |
707 | unsigned long flags; | 706 | unsigned long flags; |
@@ -723,7 +722,6 @@ static void __drain_pages(unsigned int cpu) | |||
723 | } | 722 | } |
724 | } | 723 | } |
725 | } | 724 | } |
726 | #endif /* CONFIG_PM || CONFIG_HOTPLUG_CPU */ | ||
727 | 725 | ||
728 | #ifdef CONFIG_PM | 726 | #ifdef CONFIG_PM |
729 | 727 | ||
@@ -2907,7 +2905,6 @@ void __init free_area_init(unsigned long *zones_size) | |||
2907 | __pa(PAGE_OFFSET) >> PAGE_SHIFT, NULL); | 2905 | __pa(PAGE_OFFSET) >> PAGE_SHIFT, NULL); |
2908 | } | 2906 | } |
2909 | 2907 | ||
2910 | #ifdef CONFIG_HOTPLUG_CPU | ||
2911 | static int page_alloc_cpu_notify(struct notifier_block *self, | 2908 | static int page_alloc_cpu_notify(struct notifier_block *self, |
2912 | unsigned long action, void *hcpu) | 2909 | unsigned long action, void *hcpu) |
2913 | { | 2910 | { |
@@ -2922,7 +2919,6 @@ static int page_alloc_cpu_notify(struct notifier_block *self, | |||
2922 | } | 2919 | } |
2923 | return NOTIFY_OK; | 2920 | return NOTIFY_OK; |
2924 | } | 2921 | } |
2925 | #endif /* CONFIG_HOTPLUG_CPU */ | ||
2926 | 2922 | ||
2927 | void __init page_alloc_init(void) | 2923 | void __init page_alloc_init(void) |
2928 | { | 2924 | { |