diff options
author | Chen Gang <gang.chen.5i5j@gmail.com> | 2015-11-18 20:24:42 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2016-02-26 15:24:55 +0100 |
commit | 4e0b6ca9dace8dc0731571efd2bf1897fcb11938 (patch) | |
tree | e7d122ee79b175c16379536b914656c018b2f33e /arch/m68k | |
parent | Linux 4.5-rc2 (diff) | |
download | linux-4e0b6ca9dace8dc0731571efd2bf1897fcb11938.tar.xz linux-4e0b6ca9dace8dc0731571efd2bf1897fcb11938.zip |
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/m68k')
-rw-r--r-- | arch/m68k/include/asm/page_mm.h | 3 | ||||
-rw-r--r-- | arch/m68k/include/asm/page_no.h | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/m68k/include/asm/page_mm.h b/arch/m68k/include/asm/page_mm.h index 5029f73e6294..e7a1946455a8 100644 --- a/arch/m68k/include/asm/page_mm.h +++ b/arch/m68k/include/asm/page_mm.h @@ -6,9 +6,6 @@ #include <linux/compiler.h> #include <asm/module.h> -#define get_user_page(vaddr) __get_free_page(GFP_KERNEL) -#define free_user_page(page, addr) free_page(addr) - /* * We don't need to check for alignment etc. */ diff --git a/arch/m68k/include/asm/page_no.h b/arch/m68k/include/asm/page_no.h index ef209169579a..fa7f32d9836b 100644 --- a/arch/m68k/include/asm/page_no.h +++ b/arch/m68k/include/asm/page_no.h @@ -6,9 +6,6 @@ extern unsigned long memory_start; extern unsigned long memory_end; -#define get_user_page(vaddr) __get_free_page(GFP_KERNEL) -#define free_user_page(page, addr) free_page(addr) - #define clear_page(page) memset((page), 0, PAGE_SIZE) #define copy_page(to,from) memcpy((to), (from), PAGE_SIZE) |