diff options
author | jhb <jhb@FreeBSD.org> | 2000-10-20 06:45:48 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-10-20 06:45:48 +0000 |
commit | 16168b364a2ba06b962dc30e7a667864b5900d63 (patch) | |
tree | 0930f871956c8a415441aee1aa9d4c7c253ae468 /sys/ia64 | |
parent | 9ee7a66d3e2e71817788cf4b6bd57e8ca6f6d511 (diff) | |
download | FreeBSD-src-16168b364a2ba06b962dc30e7a667864b5900d63.zip FreeBSD-src-16168b364a2ba06b962dc30e7a667864b5900d63.tar.gz |
Axe the barrier_{read,write,rw}() helper functions as this method of
doing memory barriers doesn't really scale well for the ia64. Also,
memory barriers are more a property of the CPU than bus space.
Requested by: dfr
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/include/bus.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/sys/ia64/include/bus.h b/sys/ia64/include/bus.h index 9bb2f76..724d1d5 100644 --- a/sys/ia64/include/bus.h +++ b/sys/ia64/include/bus.h @@ -1024,29 +1024,6 @@ bus_space_barrier(bus_space_tag_t tag, bus_space_handle_t bsh, } /* - * Generic memory barrier functions. - */ -static __inline void -barrier_read(void) -{ - bus_space_barrier(IA64_BUS_SPACE_MEM, 0, 0, ~0, BUS_SPACE_BARRIER_READ); -} - -static __inline void -barrier_write(void) -{ - bus_space_barrier(IA64_BUS_SPACE_MEM, 0, 0, ~0, - BUS_SPACE_BARRIER_WRITE); -} - -static __inline void -barrier_rw(void) -{ - bus_space_barrier(IA64_BUS_SPACE_MEM, 0, 0, ~0, - BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE); -} - -/* * Flags used in various bus DMA methods. */ #define BUS_DMA_WAITOK 0x00 /* safe to sleep (pseudo-flag) */ |