summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2006-02-01 03:33:25 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 10:11:24 +0100
commit3487d1d4414fbfab5d98ec559e6f84f55520cb15 (patch)
treeb85ac7e9d8c07bd3c8a9d314d650b04cdf1ccc96 /arch/sparc64/kernel
parent[SPARC64]: Use sparc64_highest_unlocked_tlb_ent in __tsb_context_switch() (diff)
downloadlinux-3487d1d4414fbfab5d98ec559e6f84f55520cb15.tar.xz
linux-3487d1d4414fbfab5d98ec559e6f84f55520cb15.zip
[SPARC64]: Kill PROM locked TLB entry preservation code.
It is totally unnecessary complexity. After we take over the trap table, we handle all PROM tlb misses fully. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel')
-rw-r--r--arch/sparc64/kernel/smp.c4
-rw-r--r--arch/sparc64/kernel/tsb.S7
2 files changed, 0 insertions, 11 deletions
diff --git a/arch/sparc64/kernel/smp.c b/arch/sparc64/kernel/smp.c
index d030c311cfee..0e7552546d36 100644
--- a/arch/sparc64/kernel/smp.c
+++ b/arch/sparc64/kernel/smp.c
@@ -116,14 +116,10 @@ static void smp_setup_percpu_timer(void);
static volatile unsigned long callin_flag = 0;
-extern void inherit_locked_prom_mappings(int save_p);
-
void __init smp_callin(void)
{
int cpuid = hard_smp_processor_id();
- inherit_locked_prom_mappings(0);
-
__local_per_cpu_offset = __per_cpu_offset(cpuid);
__flush_tlb_all();
diff --git a/arch/sparc64/kernel/tsb.S b/arch/sparc64/kernel/tsb.S
index c1532292a625..c4e7740d5e82 100644
--- a/arch/sparc64/kernel/tsb.S
+++ b/arch/sparc64/kernel/tsb.S
@@ -178,13 +178,6 @@ __tsb_context_switch:
brz %o2, 9f
nop
- /* We use entry 61 for this locked entry. This is the spitfire
- * TLB entry number, and luckily cheetah masks the value with
- * 15 ending us up with entry 13 which is what we want in that
- * case too.
- *
- * XXX Interactions with prom_world()...
- */
sethi %hi(sparc64_highest_unlocked_tlb_ent), %o4
mov TLB_TAG_ACCESS, %g1
lduw [%o4 + %lo(sparc64_highest_unlocked_tlb_ent)], %g2