summaryrefslogtreecommitdiff
path: root/regress/sys/kern/noexec
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-04-18 14:38:22 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-04-18 14:38:22 +0000
commitde1b343ae258fa143286a81bbfbe0061b2d89eda (patch)
tree4588cb3617fb585a36648d47fa3a2ea2a235a2a5 /regress/sys/kern/noexec
parent4cafd0bd26980f7bc81c94e633488fcb14796f30 (diff)
It's been a quarter century: we can assume volatile is present with that name.
Diffstat (limited to 'regress/sys/kern/noexec')
-rw-r--r--regress/sys/kern/noexec/noexec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/sys/kern/noexec/noexec.c b/regress/sys/kern/noexec/noexec.c
index fe15bd81766..65be84475cf 100644
--- a/regress/sys/kern/noexec/noexec.c
+++ b/regress/sys/kern/noexec/noexec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: noexec.c,v 1.14 2014/01/10 13:45:00 jsing Exp $ */
+/* $OpenBSD: noexec.c,v 1.15 2014/04/18 14:38:21 guenther Exp $ */
/*
* Copyright (c) 2002,2003 Michael Shalayeff
@@ -55,7 +55,7 @@ static void
fdcache(void *p, size_t size)
{
#ifdef __hppa__
- __asm __volatile( /* XXX this hardcodes the TESTSZ */
+ __asm volatile( /* XXX this hardcodes the TESTSZ */
"fdc,m %1(%0)\n\t"
"fdc,m %1(%0)\n\t"
"fdc,m %1(%0)\n\t"
@@ -71,7 +71,7 @@ fdcache(void *p, size_t size)
int i;
for (i = 0; i < TESTSZ; i += 8)
- __asm __volatile("flush %0" : : "r" (s + i) : "memory");
+ __asm volatile("flush %0" : : "r" (s + i) : "memory");
#endif
}