diff options
Diffstat (limited to 'arch/h8300/mm')
-rw-r--r-- | arch/h8300/mm/init.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/h8300/mm/init.c b/arch/h8300/mm/init.c index a1d228f5e4e6..9942f24aff9e 100644 --- a/arch/h8300/mm/init.c +++ b/arch/h8300/mm/init.c | |||
@@ -40,9 +40,6 @@ | |||
40 | 40 | ||
41 | #undef DEBUG | 41 | #undef DEBUG |
42 | 42 | ||
43 | extern void die_if_kernel(char *,struct pt_regs *,long); | ||
44 | extern void free_initmem(void); | ||
45 | |||
46 | /* | 43 | /* |
47 | * BAD_PAGE is the page that is used for page faults when linux | 44 | * BAD_PAGE is the page that is used for page faults when linux |
48 | * is out-of-memory. Older versions of linux just did a | 45 | * is out-of-memory. Older versions of linux just did a |
@@ -73,7 +70,7 @@ extern unsigned long memory_end; | |||
73 | * The parameters are pointers to where to stick the starting and ending | 70 | * The parameters are pointers to where to stick the starting and ending |
74 | * addresses of available kernel virtual memory. | 71 | * addresses of available kernel virtual memory. |
75 | */ | 72 | */ |
76 | void paging_init(void) | 73 | void __init paging_init(void) |
77 | { | 74 | { |
78 | /* | 75 | /* |
79 | * Make sure start_mem is page aligned, otherwise bootmem and | 76 | * Make sure start_mem is page aligned, otherwise bootmem and |
@@ -122,7 +119,7 @@ void paging_init(void) | |||
122 | } | 119 | } |
123 | } | 120 | } |
124 | 121 | ||
125 | void mem_init(void) | 122 | void __init mem_init(void) |
126 | { | 123 | { |
127 | int codek = 0, datak = 0, initk = 0; | 124 | int codek = 0, datak = 0, initk = 0; |
128 | /* DAVIDM look at setup memory map generically with reserved area */ | 125 | /* DAVIDM look at setup memory map generically with reserved area */ |
@@ -178,7 +175,7 @@ void free_initrd_mem(unsigned long start, unsigned long end) | |||
178 | #endif | 175 | #endif |
179 | 176 | ||
180 | void | 177 | void |
181 | free_initmem() | 178 | free_initmem(void) |
182 | { | 179 | { |
183 | #ifdef CONFIG_RAMKERNEL | 180 | #ifdef CONFIG_RAMKERNEL |
184 | unsigned long addr; | 181 | unsigned long addr; |