summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/bus_dma.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-06-14 18:48:39 +0000
committerbde <bde@FreeBSD.org>2000-06-14 18:48:39 +0000
commitce281cb5af1b2e03c9ab0f9655f5b1115637da37 (patch)
tree9bf0c75764ed42e47c10b1c89aa0e4d09b87e209 /sys/i386/include/bus_dma.h
parent1ea48803438b4b6ef2e8ab1eb75a5f399f820392 (diff)
downloadFreeBSD-src-ce281cb5af1b2e03c9ab0f9655f5b1115637da37.zip
FreeBSD-src-ce281cb5af1b2e03c9ab0f9655f5b1115637da37.tar.gz
Fixed syntax errors and style bugs in previous commit. The syntax
errors were normally harmless because they were in unreachable code and gcc apparently doesn't check the syntax inside asm statements that it optimizes away.
Diffstat (limited to 'sys/i386/include/bus_dma.h')
-rw-r--r--sys/i386/include/bus_dma.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/include/bus_dma.h b/sys/i386/include/bus_dma.h
index 601e2b4..2d84400 100644
--- a/sys/i386/include/bus_dma.h
+++ b/sys/i386/include/bus_dma.h
@@ -1147,9 +1147,9 @@ bus_space_barrier(bus_space_tag_t tag, bus_space_handle_t bsh,
bus_size_t offset, bus_size_t len, int flags)
{
if (flags & BUS_SPACE_BARRIER_READ)
- __asm __volatile ("lock; addl $0,0(%esp)" : : : "memory");
+ __asm __volatile("lock; addl $0,0(%%esp)" : : : "memory");
else
- __asm __volatile ("" : : : "memory");
+ __asm __volatile("" : : : "memory");
}
OpenPOWER on IntegriCloud