26c26
< * $FreeBSD: head/sys/sparc64/include/tlb.h 88629 2001-12-29 07:07:35Z jake $
---
> * $FreeBSD: head/sys/sparc64/include/tlb.h 91170 2002-02-23 20:59:35Z jake $
92,96d91
< #define TLB_ATOMIC_START(s) do { \
< (s) = rdpr(pstate); \
< wrpr(pstate, (s) & ~PSTATE_IE, 0); \
< } while (0)
< #define TLB_ATOMIC_END(s) wrpr(pstate, (s), 0)
128c123
< TLB_ATOMIC_START(pst);
---
> pst = intr_disable();
133c128
< TLB_ATOMIC_END(pst);
---
> intr_restore(pst);
141c136
< TLB_ATOMIC_START(pst);
---
> pst = intr_disable();
145c140
< TLB_ATOMIC_END(pst);
---
> intr_restore(pst);
179c174
< TLB_ATOMIC_START(pst);
---
> pst = intr_disable();
191c186
< TLB_ATOMIC_END(pst);
---
> intr_restore(pst);
208c203
< TLB_ATOMIC_START(pst);
---
> pst = intr_disable();
212c207
< TLB_ATOMIC_END(pst);
---
> intr_restore(pst);
< * $FreeBSD: head/sys/sparc64/include/tlb.h 88629 2001-12-29 07:07:35Z jake $
---
> * $FreeBSD: head/sys/sparc64/include/tlb.h 91170 2002-02-23 20:59:35Z jake $
92,96d91
< #define TLB_ATOMIC_START(s) do { \
< (s) = rdpr(pstate); \
< wrpr(pstate, (s) & ~PSTATE_IE, 0); \
< } while (0)
< #define TLB_ATOMIC_END(s) wrpr(pstate, (s), 0)
128c123
< TLB_ATOMIC_START(pst);
---
> pst = intr_disable();
133c128
< TLB_ATOMIC_END(pst);
---
> intr_restore(pst);
141c136
< TLB_ATOMIC_START(pst);
---
> pst = intr_disable();
145c140
< TLB_ATOMIC_END(pst);
---
> intr_restore(pst);
179c174
< TLB_ATOMIC_START(pst);
---
> pst = intr_disable();
191c186
< TLB_ATOMIC_END(pst);
---
> intr_restore(pst);
208c203
< TLB_ATOMIC_START(pst);
---
> pst = intr_disable();
212c207
< TLB_ATOMIC_END(pst);
---
> intr_restore(pst);