
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
---

 memhotplug1-dave/include/linux/mmigrate.h |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff -puN include/linux/mmigrate.h~P13.2-migrate_page-operation-static_inlines include/linux/mmigrate.h
--- memhotplug1/include/linux/mmigrate.h~P13.2-migrate_page-operation-static_inlines	2004-11-04 16:46:07.000000000 -0800
+++ memhotplug1-dave/include/linux/mmigrate.h	2004-11-04 16:46:07.000000000 -0800
@@ -14,13 +14,17 @@ extern struct page * migrate_onepage(str
 extern int try_to_migrate_pages(struct list_head *);
 
 #else
-#define generic_migrate_page(p1, p2, fn)	(-ENOSYS)
+static inline int generic_migrate_page(struct page *page, struct page *newpage,
+					int (*fn)(struct page *, struct page *))
+{
+	return -ENOSYS;
+}
 #endif
 
 #ifdef ARCH_HAS_PAGEMIGRATION
 extern void arch_migrate_page(struct page *, struct page *);
 #else
-#define arch_migrate_page(page, newpage)  do { } while(0)
+static inline void arch_migrate_page(struct page *page, struct page *newpage) {}
 #endif
 
 #endif /* _LINUX_MEMHOTPLUG_H */
_
