patch-2.1.101 linux/arch/sparc64/mm/ultra.S
Next file: linux/arch/sparc64/prom/p1275.c
Previous file: linux/arch/sparc64/mm/init.c
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Fri May 8 00:11:29 1998
- Orig file:
v2.1.100/linux/arch/sparc64/mm/ultra.S
- Orig date:
Mon Jan 12 15:15:44 1998
diff -u --recursive --new-file v2.1.100/linux/arch/sparc64/mm/ultra.S linux/arch/sparc64/mm/ultra.S
@@ -1,4 +1,4 @@
-/* $Id: ultra.S,v 1.20 1997/10/03 20:42:46 davem Exp $
+/* $Id: ultra.S,v 1.21 1998/04/28 08:23:30 davem Exp $
* ultra.S: Don't expand these all over the place...
*
* Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu)
@@ -12,7 +12,7 @@
.text
.align 32
.globl __flush_tlb_mm, __flush_tlb_range, __flush_tlb_page
-__flush_tlb_mm: /* %o0 == (mm->context & 0x1fff) */
+__flush_tlb_mm: /* %o0 == (mm->context & 0x3ff) */
mov SECONDARY_CONTEXT, %g7
9: ldxa [%g7] ASI_DMMU, %g2
cmp %g2, %o0
@@ -33,7 +33,7 @@
retl
wrpr %g1, 0, %pstate
nop
-__flush_tlb_range: /* %o0 == (mm->context & 0x1fff), %o1 == start, %o2 == end */
+__flush_tlb_range: /* %o0 == (mm->context & 0x3ff), %o1 == start, %o2 == end */
sethi %hi(8192 - 1), %g5
or %g5, %lo(8192 - 1), %g5
andn %o1, %g5, %o1
@@ -72,7 +72,7 @@
nop
.align 32
-__flush_tlb_page: /* %o0 == (mm->context & 0x1fff), %o1 == page & PAGE_MASK */
+__flush_tlb_page: /* %o0 == (mm->context & 0x3ff), %o1 == page & PAGE_MASK */
mov SECONDARY_CONTEXT, %g7
ldxa [%g7] ASI_DMMU, %g2
cmp %g2, %o0
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov