Commit 32442467ed58ba7d32d02a27146650b9a4763b5d

Authored by Sam Ravnborg
Committed by David S. Miller
1 parent d55de60564

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: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

arch/sparc/mm/srmmu.c
... ... @@ -232,7 +232,7 @@
232 232 * Reserve nocache dynamically proportionally to the amount of
233 233 * system RAM. -- Tomas Szepe <szepe@pinerecords.com>, June 2002
234 234 */
235   -static void srmmu_nocache_calcsize(void)
  235 +static void __init srmmu_nocache_calcsize(void)
236 236 {
237 237 unsigned long sysmemavail = probe_memory() / 1024;
238 238 int srmmu_nocache_npages;
... ... @@ -776,7 +776,7 @@
776 776 return vstart;
777 777 }
778 778  
779   -static inline void map_kernel(void)
  779 +static void __init map_kernel(void)
780 780 {
781 781 int i;
782 782