From: Andrew Morton Cc: Christoph Lameter Signed-off-by: Andrew Morton --- include/linux/swapops.h | 4 ++++ 1 files changed, 4 insertions(+) diff -puN include/linux/swapops.h~read-write-migration-entries-make-mprotect-convert-write-migration-fix-fix include/linux/swapops.h --- devel/include/linux/swapops.h~read-write-migration-entries-make-mprotect-convert-write-migration-fix-fix 2006-04-21 04:30:34.000000000 -0700 +++ devel-akpm/include/linux/swapops.h 2006-04-21 04:30:34.000000000 -0700 @@ -113,6 +113,10 @@ extern void migration_entry_wait(struct static inline void make_migration_entry_read(swp_entry_t entryp) { } static inline void migration_entry_wait(struct mm_struct *mm, pmd_t *pmd, unsigned long address) { } +static inline int is_write_migration_entry(swp_entry_t entry) +{ + return 0; +} #endif _