projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43f2a6e
)
microblaze: page.h: Remove get_user_page and free_user_page
author
Michal Simek
<monstr@monstr.eu>
Thu, 22 Apr 2010 06:07:46 +0000
(08:07 +0200)
committer
Michal 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/microblaze/include/asm/page.h
b/arch/microblaze/include/asm/page.h
index 7b9ba8f145ea133546f87ecacec14ac3f0e912a2..9b12902b9818128c30d1874e23a0d0840d17c2a8 100644
(file)
--- a/
arch/microblaze/include/asm/page.h
+++ b/
arch/microblaze/include/asm/page.h
@@
-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)