aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/mm/init.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2005-09-23 14:59:44 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-09-23 14:59:44 -0400
commit898cf0ecb7959db97d71cbce19685ce73a28d47c (patch)
tree321c4dcfd6a63fc9beda9663c9852422bfbce5a0 /arch/sparc64/mm/init.c
parent1c9ea5db001142a96fec8fed0f92f26892a1b6ac (diff)
[SPARC64]: Mark functions called by paging_init() as __init.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/mm/init.c')
-rw-r--r--arch/sparc64/mm/init.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/sparc64/mm/init.c b/arch/sparc64/mm/init.c
index e0b9eebf21ce..cf747372f0c9 100644
--- a/arch/sparc64/mm/init.c
+++ b/arch/sparc64/mm/init.c
@@ -410,7 +410,7 @@ unsigned long prom_virt_to_phys(unsigned long promva, int *error)
410 * HI_OBP_ADDRESS range are handled in entry.S and do not use the vpte 410 * HI_OBP_ADDRESS range are handled in entry.S and do not use the vpte
411 * scheme (also, see rant in inherit_locked_prom_mappings()). 411 * scheme (also, see rant in inherit_locked_prom_mappings()).
412 */ 412 */
413static void build_obp_range(unsigned long start, unsigned long end, unsigned long data) 413static void __init build_obp_range(unsigned long start, unsigned long end, unsigned long data)
414{ 414{
415 unsigned long vaddr; 415 unsigned long vaddr;
416 416
@@ -454,7 +454,7 @@ static inline int in_obp_range(unsigned long vaddr)
454} 454}
455 455
456#define OBP_PMD_SIZE 2048 456#define OBP_PMD_SIZE 2048
457static void build_obp_pgtable(int prom_trans_ents) 457static void __init build_obp_pgtable(int prom_trans_ents)
458{ 458{
459 unsigned long i; 459 unsigned long i;
460 460
@@ -480,7 +480,7 @@ static void build_obp_pgtable(int prom_trans_ents)
480/* Read OBP translations property into 'prom_trans[]'. 480/* Read OBP translations property into 'prom_trans[]'.
481 * Return the number of entries. 481 * Return the number of entries.
482 */ 482 */
483static int read_obp_translations(void) 483static int __init read_obp_translations(void)
484{ 484{
485 int n, node; 485 int n, node;
486 486
@@ -505,7 +505,7 @@ static int read_obp_translations(void)
505 return n; 505 return n;
506} 506}
507 507
508static void remap_kernel(void) 508static void __init remap_kernel(void)
509{ 509{
510 unsigned long phys_page, tte_vaddr, tte_data; 510 unsigned long phys_page, tte_vaddr, tte_data;
511 int tlb_ent = sparc64_highest_locked_tlbent(); 511 int tlb_ent = sparc64_highest_locked_tlbent();
@@ -531,7 +531,7 @@ static void remap_kernel(void)
531 } 531 }
532} 532}
533 533
534static void inherit_prom_mappings(void) 534static void __init inherit_prom_mappings(void)
535{ 535{
536 int n; 536 int n;
537 537
@@ -1604,7 +1604,7 @@ void __init mem_init(void)
1604 cheetah_ecache_flush_init(); 1604 cheetah_ecache_flush_init();
1605} 1605}
1606 1606
1607void free_initmem (void) 1607void free_initmem(void)
1608{ 1608{
1609 unsigned long addr, initend; 1609 unsigned long addr, initend;
1610 1610