diff options
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/sparc64/machdep.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/arch/sparc64/sparc64/machdep.c b/sys/arch/sparc64/sparc64/machdep.c index 4a33a825131..1e0bfa84b9f 100644 --- a/sys/arch/sparc64/sparc64/machdep.c +++ b/sys/arch/sparc64/sparc64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.127 2010/12/26 15:41:00 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.128 2011/03/05 17:48:59 deraadt Exp $ */ /* $NetBSD: machdep.c,v 1.108 2001/07/24 19:30:14 eeh Exp $ */ /*- @@ -1883,15 +1883,7 @@ sparc_bus_barrier(bus_space_tag_t t, bus_space_tag_t t0, bus_space_handle_t h, * with loads, or stores with stores. The only ones that seem * generic are #Sync and #MemIssue. I'll use #Sync for safety. */ - if (flags == (BUS_SPACE_BARRIER_READ|BUS_SPACE_BARRIER_WRITE)) - membar(Sync); - else if (flags == BUS_SPACE_BARRIER_READ) - membar(Sync); - else if (flags == BUS_SPACE_BARRIER_WRITE) - membar(Sync); - else - printf("sparc_bus_barrier: unknown flags\n"); - return; + membar(Sync); } int |