Commit fef43da4 authored by David S. Miller's avatar David S. Miller

[SPARC64]: Fix UltraSPARC-III fallout from membar changes.

The membar changes made the size of __cheetah_flush_tlb_pending
grow by one instruction, but the boot-time code patching was
not updated to match.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d06e7a56
...@@ -72,6 +72,7 @@ __flush_tlb_pending: ...@@ -72,6 +72,7 @@ __flush_tlb_pending:
flush %g6 flush %g6
retl retl
wrpr %g7, 0x0, %pstate wrpr %g7, 0x0, %pstate
nop
.align 32 .align 32
.globl __flush_tlb_kernel_range .globl __flush_tlb_kernel_range
...@@ -249,7 +250,7 @@ __cheetah_flush_tlb_mm: /* 15 insns */ ...@@ -249,7 +250,7 @@ __cheetah_flush_tlb_mm: /* 15 insns */
retl retl
wrpr %g7, 0x0, %pstate wrpr %g7, 0x0, %pstate
__cheetah_flush_tlb_pending: /* 22 insns */ __cheetah_flush_tlb_pending: /* 23 insns */
/* %o0 = context, %o1 = nr, %o2 = vaddrs[] */ /* %o0 = context, %o1 = nr, %o2 = vaddrs[] */
rdpr %pstate, %g7 rdpr %pstate, %g7
sllx %o1, 3, %o1 sllx %o1, 3, %o1
...@@ -317,7 +318,7 @@ cheetah_patch_cachetlbops: ...@@ -317,7 +318,7 @@ cheetah_patch_cachetlbops:
sethi %hi(__cheetah_flush_tlb_pending), %o1 sethi %hi(__cheetah_flush_tlb_pending), %o1
or %o1, %lo(__cheetah_flush_tlb_pending), %o1 or %o1, %lo(__cheetah_flush_tlb_pending), %o1
call cheetah_patch_one call cheetah_patch_one
mov 22, %o2 mov 23, %o2
#ifdef DCACHE_ALIASING_POSSIBLE #ifdef DCACHE_ALIASING_POSSIBLE
sethi %hi(__flush_dcache_page), %o0 sethi %hi(__flush_dcache_page), %o0
......
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