mm: remove CONFIG_HOTPLUG ifdefs
CONFIG_HOTPLUG is going away as an option, cleanup CONFIG_HOTPLUG ifdefs in mm files. Signed-off-by: Yijing Wang <wangyijing@huawei.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Rik van Riel <riel@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
573b400d01
commit
f1cb08798e
2 changed files with 1 additions and 8 deletions
|
@ -48,13 +48,8 @@ static inline void count_vm_events(enum vm_event_item item, long delta)
|
|||
}
|
||||
|
||||
extern void all_vm_events(unsigned long *);
|
||||
#ifdef CONFIG_HOTPLUG
|
||||
|
||||
extern void vm_events_fold_cpu(int cpu);
|
||||
#else
|
||||
static inline void vm_events_fold_cpu(int cpu)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue