summaryrefslogtreecommitdiff
path: root/arch/sparc64/mm/init.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2006-01-31 18:33:37 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 01:11:25 -0800
commita8b900d801697609d1b56cc9c110148c64678068 (patch)
tree47602480aba29d17f8a79cc76dfe8af4d62f2599 /arch/sparc64/mm/init.c
parent3487d1d4414fbfab5d98ec559e6f84f55520cb15 (diff)
downloadlwn-a8b900d801697609d1b56cc9c110148c64678068.tar.gz
lwn-a8b900d801697609d1b56cc9c110148c64678068.zip
[SPARC64]: Kill sole argument passed to setup_tba().
No longer used, and move extern declaration to a header file. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/mm/init.c')
-rw-r--r--arch/sparc64/mm/init.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/arch/sparc64/mm/init.c b/arch/sparc64/mm/init.c
index f4d22ccb4cf0..20e7af552ce4 100644
--- a/arch/sparc64/mm/init.c
+++ b/arch/sparc64/mm/init.c
@@ -1092,15 +1092,8 @@ void __init paging_init(void)
inherit_prom_mappings();
- /* Ok, we can use our TLB miss and window trap handlers safely.
- * We need to do a quick peek here to see if we are on StarFire
- * or not, so setup_tba can setup the IRQ globals correctly (it
- * needs to get the hard smp processor id correctly).
- */
- {
- extern void setup_tba(int);
- setup_tba(this_is_starfire);
- }
+ /* Ok, we can use our TLB miss and window trap handlers safely. */
+ setup_tba();
__flush_tlb_all();