diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-03-29 18:09:32 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-03-29 18:09:32 +0000 |
commit | 400e99c46f5fa56531015ba74096c3df72851d35 (patch) | |
tree | 0faef85a6b863396e8ea71feee002ee3a2782234 /sys/arch/loongson | |
parent | 3756224bec69e72815aea2adefb844c05c376b26 (diff) |
It's been a quarter century: we can assume volatile is present with that name.
ok dlg@ mpi@ deraadt@
Diffstat (limited to 'sys/arch/loongson')
-rw-r--r-- | sys/arch/loongson/include/bus.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/loongson/include/bus.h b/sys/arch/loongson/include/bus.h index 676c5cd0d49..640d7348f63 100644 --- a/sys/arch/loongson/include/bus.h +++ b/sys/arch/loongson/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.4 2014/03/10 21:32:15 miod Exp $ */ +/* $OpenBSD: bus.h,v 1.5 2014/03/29 18:09:29 guenther Exp $ */ /* * Copyright (c) 2003-2004 Opsycon AB Sweden. All rights reserved. @@ -327,7 +327,7 @@ static inline void bus_space_barrier(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, bus_size_t length, int flags) { - __asm__ __volatile__ ("sync" ::: "memory"); + __asm__ volatile ("sync" ::: "memory"); } #define BUS_SPACE_BARRIER_READ 0x01 /* force read barrier */ #define BUS_SPACE_BARRIER_WRITE 0x02 /* force write barrier */ |