kernel/include/linux/swap.h
.. .. @@ -12,6 +12,7 @@ 12 12 #include <linux/fs.h> 13 13 #include <linux/atomic.h> 14 14 #include <linux/page-flags.h> 15 +#include <linux/locallock.h>15 16 #include <asm/page.h> 16 17 17 18 struct notifier_block; .. .. @@ -335,6 +336,7 @@ 335 336 336 337 337 338 /* linux/mm/swap.c */ 339 +DECLARE_LOCAL_IRQ_LOCK(swapvec_lock);338 340 extern void lru_cache_add(struct page *); 339 341 extern void lru_cache_add_anon(struct page *page); 340 342 extern void lru_cache_add_file(struct page *page);