Commit 32442467 authored by Sam Ravnborg's avatar Sam Ravnborg Committed by David S. Miller

sparc32: define a few srmmu functions __init

They are only used during early init so lets get rid of them
after init to save some RAM.
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d55de605
...@@ -232,7 +232,7 @@ extern unsigned long probe_memory(void); /* in fault.c */ ...@@ -232,7 +232,7 @@ extern unsigned long probe_memory(void); /* in fault.c */
* Reserve nocache dynamically proportionally to the amount of * Reserve nocache dynamically proportionally to the amount of
* system RAM. -- Tomas Szepe <szepe@pinerecords.com>, June 2002 * system RAM. -- Tomas Szepe <szepe@pinerecords.com>, June 2002
*/ */
static void srmmu_nocache_calcsize(void) static void __init srmmu_nocache_calcsize(void)
{ {
unsigned long sysmemavail = probe_memory() / 1024; unsigned long sysmemavail = probe_memory() / 1024;
int srmmu_nocache_npages; int srmmu_nocache_npages;
...@@ -776,7 +776,7 @@ static unsigned long __init map_spbank(unsigned long vbase, int sp_entry) ...@@ -776,7 +776,7 @@ static unsigned long __init map_spbank(unsigned long vbase, int sp_entry)
return vstart; return vstart;
} }
static inline void map_kernel(void) static void __init map_kernel(void)
{ {
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment