Commit a8b900d8 authored by David S. Miller's avatar David S. Miller Committed by David S. Miller

[SPARC64]: Kill sole argument passed to setup_tba().

No longer used, and move extern declaration to a header file.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3487d1d4
...@@ -454,7 +454,7 @@ setup_trap_table: ...@@ -454,7 +454,7 @@ setup_trap_table:
restore restore
.globl setup_tba .globl setup_tba
setup_tba: /* i0 = is_starfire */ setup_tba:
save %sp, -192, %sp save %sp, -192, %sp
/* The boot processor is the only cpu which invokes this /* The boot processor is the only cpu which invokes this
......
...@@ -1092,15 +1092,8 @@ void __init paging_init(void) ...@@ -1092,15 +1092,8 @@ void __init paging_init(void)
inherit_prom_mappings(); inherit_prom_mappings();
/* Ok, we can use our TLB miss and window trap handlers safely. /* 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 setup_tba();
* 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);
}
__flush_tlb_all(); __flush_tlb_all();
......
...@@ -61,6 +61,7 @@ struct trap_per_cpu { ...@@ -61,6 +61,7 @@ struct trap_per_cpu {
extern struct trap_per_cpu trap_block[NR_CPUS]; extern struct trap_per_cpu trap_block[NR_CPUS];
extern void init_cur_cpu_trap(void); extern void init_cur_cpu_trap(void);
extern void per_cpu_patch(void); extern void per_cpu_patch(void);
extern void setup_tba(void);
#endif /* !(__ASSEMBLY__) */ #endif /* !(__ASSEMBLY__) */
......
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