mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 01:31:44 +00:00
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>
This commit is contained in:
parent
43f2a6e8b1
commit
22dcc2e3b9
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user