diff options
author | Greg Ungerer <gerg@uclinux.org> | 2011-08-23 01:42:36 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2011-10-18 00:22:26 -0400 |
commit | 7a79a80f50a9c7f76b257a3a55dd6a055e6893cf (patch) | |
tree | 7e172d7252adbbdc29d3e3ef00ed644cb488b105 /arch/m68k/include | |
parent | 3998bfbf310fd3efa19b9b2d420773157ee1d1b2 (diff) |
m68knommu: create common externs for _ram* vars
Create common extern definitions of _rambase, _ramstart and _ramend
instead of them being externed when used in code.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/include')
-rw-r--r-- | arch/m68k/include/asm/page_no.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/page_no.h b/arch/m68k/include/asm/page_no.h index 90595721185f..a8d1c60eb9ce 100644 --- a/arch/m68k/include/asm/page_no.h +++ b/arch/m68k/include/asm/page_no.h | |||
@@ -5,6 +5,9 @@ | |||
5 | 5 | ||
6 | extern unsigned long memory_start; | 6 | extern unsigned long memory_start; |
7 | extern unsigned long memory_end; | 7 | extern unsigned long memory_end; |
8 | extern unsigned long _rambase; | ||
9 | extern unsigned long _ramstart; | ||
10 | extern unsigned long _ramend; | ||
8 | 11 | ||
9 | #define get_user_page(vaddr) __get_free_page(GFP_KERNEL) | 12 | #define get_user_page(vaddr) __get_free_page(GFP_KERNEL) |
10 | #define free_user_page(page, addr) free_page(addr) | 13 | #define free_user_page(page, addr) free_page(addr) |