From d17b2e103d7363e91ce5b88fe5ec059d72ba8a44 Mon Sep 17 00:00:00 2001 From: alc Date: Sun, 6 Mar 2005 20:57:08 +0000 Subject: Declare as volatile the memory location referenced by a pointer rather than the pointer's value. --- sys/sparc64/include/smp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/sparc64/include/smp.h') diff --git a/sys/sparc64/include/smp.h b/sys/sparc64/include/smp.h index 3f3b0b9..b51425d 100644 --- a/sys/sparc64/include/smp.h +++ b/sys/sparc64/include/smp.h @@ -200,7 +200,7 @@ ipi_tlb_range_demap(struct pmap *pm, vm_offset_t start, vm_offset_t end) static __inline void ipi_wait(void *cookie) { - u_int *volatile mask; + volatile u_int *mask; if ((mask = cookie) != NULL) { atomic_clear_int(mask, PCPU_GET(cpumask)); -- cgit v1.1