Skip to content

Commit

Permalink
microblaze: page.h: Remove get_user_page and free_user_page
Browse files Browse the repository at this point in the history
Remove ancient macros which are here from Linux-2.4

Signed-off-by: Michal Simek <monstr@monstr.eu>
  • Loading branch information
Michal Simek committed May 6, 2010
1 parent 43f2a6e commit 22dcc2e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arch/microblaze/include/asm/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 22dcc2e

Please sign in to comment.