diff options
author | alc <alc@FreeBSD.org> | 2005-03-06 20:57:08 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2005-03-06 20:57:08 +0000 |
commit | d17b2e103d7363e91ce5b88fe5ec059d72ba8a44 (patch) | |
tree | 42564a3f4117da3803ec8da5bc3c91661e2a8db8 /sys/sparc64/include | |
parent | 9b3a4f2d2f3b0e95f294fbe918e114ffc15ee1c5 (diff) | |
download | FreeBSD-src-d17b2e103d7363e91ce5b88fe5ec059d72ba8a44.zip FreeBSD-src-d17b2e103d7363e91ce5b88fe5ec059d72ba8a44.tar.gz |
Declare as volatile the memory location referenced by a pointer rather than
the pointer's value.
Diffstat (limited to 'sys/sparc64/include')
-rw-r--r-- | sys/sparc64/include/smp.h | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |