]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
microblaze: page.h: Remove get_user_page and free_user_page
authorMichal Simek <monstr@monstr.eu>
Thu, 22 Apr 2010 06:07:46 +0000 (08:07 +0200)
committerMichal Simek <monstr@monstr.eu>
Thu, 6 May 2010 09:21:59 +0000 (11:21 +0200)
Remove ancient macros which are here from Linux-2.4

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/include/asm/page.h

index 7b9ba8f145ea133546f87ecacec14ac3f0e912a2..9b12902b9818128c30d1874e23a0d0840d17c2a8 100644 (file)
@@ -70,11 +70,6 @@ typedef unsigned long pte_basic_t;
 
 #endif /* CONFIG_MMU */
 
-#  ifndef CONFIG_MMU
-#  define get_user_page(vaddr)                 __get_free_page(GFP_KERNEL)
-#  define free_user_page(page, addr)           free_page(addr)
-#  endif /* CONFIG_MMU */
-
 # define copy_page(to, from)                   memcpy((to), (from), PAGE_SIZE)
 # define clear_page(pgaddr)                    memset((pgaddr), 0, PAGE_SIZE)