includecheck fix: include/linux, page_cgroup.h

fix the following 'make includecheck' warning:

  include/linux/page_cgroup.h: linux/swap.h is included more than once.

Signed-off-by: Jaswinder Singh Rajput <[email protected]>
Cc: Li Zefan <[email protected]>
Acked-by: Paul Menage <[email protected]>
This commit is contained in:
Jaswinder Singh Rajput committed 2009-09-20 16:57:50 +05:30
1 parent 43cc960980
commit 97572751d7
1 file changed
+2 -2
+2 -2
View File
@@ -105,14 +105,14 @@ static inline void __init page_cgroup_init_flatmem(void)
#endif
#ifdef CONFIG_CGROUP_MEM_RES_CTLR_SWAP
#include <linux/swap.h>
#ifdef CONFIG_CGROUP_MEM_RES_CTLR_SWAP
extern unsigned short swap_cgroup_record(swp_entry_t ent, unsigned short id);
extern unsigned short lookup_swap_cgroup(swp_entry_t ent);
extern int swap_cgroup_swapon(int type, unsigned long max_pages);
extern void swap_cgroup_swapoff(int type);
#else
#include <linux/swap.h>
static inline
unsigned short swap_cgroup_record(swp_entry_t ent, unsigned short id)