aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-04-22 02:07:46 -0400
committerMichal Simek <monstr@monstr.eu>2010-05-06 05:21:59 -0400
commit22dcc2e3b96107e464dbc1a5c84b5e7239906cb0 (patch)
tree0c9cc531d95ca7950c8ba2198cac1ed5dcd8e548 /arch/microblaze
parent43f2a6e8b122378b9ad20cd8ea449cdb38f5d829 (diff)
microblaze: page.h: Remove get_user_page and free_user_page
Remove ancient macros which are here from Linux-2.4 Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/include/asm/page.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/microblaze/include/asm/page.h b/arch/microblaze/include/asm/page.h
index 7b9ba8f145ea..9b12902b9818 100644
--- a/arch/microblaze/include/asm/page.h
+++ b/arch/microblaze/include/asm/page.h
@@ -70,11 +70,6 @@ typedef unsigned long pte_basic_t;
70 70
71#endif /* CONFIG_MMU */ 71#endif /* CONFIG_MMU */
72 72
73# ifndef CONFIG_MMU
74# define get_user_page(vaddr) __get_free_page(GFP_KERNEL)
75# define free_user_page(page, addr) free_page(addr)
76# endif /* CONFIG_MMU */
77
78# define copy_page(to, from) memcpy((to), (from), PAGE_SIZE) 73# define copy_page(to, from) memcpy((to), (from), PAGE_SIZE)
79# define clear_page(pgaddr) memset((pgaddr), 0, PAGE_SIZE) 74# define clear_page(pgaddr) memset((pgaddr), 0, PAGE_SIZE)
80 75