diff options
author | Chen Gang <gang.chen.5i5j@gmail.com> | 2015-11-18 14:24:42 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2016-02-26 09:24:55 -0500 |
commit | 4e0b6ca9dace8dc0731571efd2bf1897fcb11938 (patch) | |
tree | e7d122ee79b175c16379536b914656c018b2f33e /arch/frv | |
parent | 36f90b0a2ddd60823fe193a85e60ff1906c2a9b3 (diff) |
asm-generic: page.h: Remove useless get_user_page and free_user_page
They are not symmetric with each other, neither are used in real world
(can not be found by grep command in source code root directory), so
remove them.
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/frv')
-rw-r--r-- | arch/frv/include/asm/page.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/frv/include/asm/page.h b/arch/frv/include/asm/page.h index 688d8076a43a..ec5eebce4fb3 100644 --- a/arch/frv/include/asm/page.h +++ b/arch/frv/include/asm/page.h | |||
@@ -8,9 +8,6 @@ | |||
8 | 8 | ||
9 | #ifndef __ASSEMBLY__ | 9 | #ifndef __ASSEMBLY__ |
10 | 10 | ||
11 | #define get_user_page(vaddr) __get_free_page(GFP_KERNEL) | ||
12 | #define free_user_page(page, addr) free_page(addr) | ||
13 | |||
14 | #define clear_page(pgaddr) memset((pgaddr), 0, PAGE_SIZE) | 11 | #define clear_page(pgaddr) memset((pgaddr), 0, PAGE_SIZE) |
15 | #define copy_page(to,from) memcpy((to), (from), PAGE_SIZE) | 12 | #define copy_page(to,from) memcpy((to), (from), PAGE_SIZE) |
16 | 13 | ||