diff options
Diffstat (limited to 'arch/sparc64/mm/ultra.S')
-rw-r--r-- | arch/sparc64/mm/ultra.S | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/sparc64/mm/ultra.S b/arch/sparc64/mm/ultra.S index 1c3714e5b..a12bfb4d0 100644 --- a/arch/sparc64/mm/ultra.S +++ b/arch/sparc64/mm/ultra.S @@ -1,9 +1,10 @@ -/* $Id: ultra.S,v 1.41 2000/03/27 10:38:51 davem Exp $ +/* $Id: ultra.S,v 1.42 2000/05/05 18:47:41 davem Exp $ * ultra.S: Don't expand these all over the place... * * Copyright (C) 1997, 2000 David S. Miller (davem@redhat.com) */ +#include <linux/config.h> #include <asm/asi.h> #include <asm/pgtable.h> #include <asm/page.h> @@ -38,7 +39,7 @@ __flush_tlb_range: /* %o0=(ctx&0x3ff), %o1=start&PAGE_MASK, %o2=SECONDARY_CONTEX */ #define TLB_MAGIC 207 /* Students, do you know how I calculated this? -DaveM */ /*IC3*/ cmp %o5, %o4 - be,pt %xcc, __flush_tlb_page + bleu,pt %xcc, __flush_tlb_page srlx %o5, 13, %g5 cmp %g5, TLB_MAGIC bgeu,pn %icc, __flush_tlb_range_constant_time @@ -242,7 +243,7 @@ update_mmu_cache: /* %o0=vma, %o1=address, %o2=pte */ 1: retl nop -#ifdef __SMP__ +#ifdef CONFIG_SMP /* These are all called by the slaves of a cross call, at * trap level 1, with interrupts fully disabled. * @@ -431,4 +432,4 @@ xcall_flush_cache_all: nop flush %g6 retry -#endif /* __SMP__ */ +#endif /* CONFIG_SMP */ |