summaryrefslogtreecommitdiff
path: root/regress/sys/arch/hppa
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/arch/hppa
parent4cafd0bd26980f7bc81c94e633488fcb14796f30 (diff)
It's been a quarter century: we can assume volatile is present with that name.
Diffstat (limited to 'regress/sys/arch/hppa')
-rw-r--r--regress/sys/arch/hppa/probe/probe.c10
-rw-r--r--regress/sys/arch/hppa/sfuid/sfuid.c4
2 files changed, 7 insertions, 7 deletions
diff --git a/regress/sys/arch/hppa/probe/probe.c b/regress/sys/arch/hppa/probe/probe.c
index 32c671498f3..057a0b63b8e 100644
--- a/regress/sys/arch/hppa/probe/probe.c
+++ b/regress/sys/arch/hppa/probe/probe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: probe.c,v 1.1 2004/05/12 22:54:13 mickey Exp $ */
+/* $OpenBSD: probe.c,v 1.2 2014/04/18 14:38:21 guenther Exp $ */
/*
* Written by Michael Shalayeff, 2004. Public Domain.
@@ -14,13 +14,13 @@ char moo[] = "moo"; /* writable */
const char blah[] = "blah"; /* not */
volatile char *label;
-#define prober(r,a) __asm __volatile( \
+#define prober(r,a) __asm volatile( \
"prober (%2),%1,%0" : "=r" (r) : "r" (3), "r" (a));
-#define proberi(r,a) __asm __volatile( \
+#define proberi(r,a) __asm volatile( \
"proberi (%2),%1,%0" : "=r" (r) : "i" (3), "r" (a));
-#define probew(r,a) __asm __volatile( \
+#define probew(r,a) __asm volatile( \
"probew (%2),%1,%0" : "=r" (r) : "r" (3), "r" (a));
-#define probewi(r,a) __asm __volatile( \
+#define probewi(r,a) __asm volatile( \
"probewi (%2),%1,%0" : "=r" (r) : "i" (3), "r" (a));
void
diff --git a/regress/sys/arch/hppa/sfuid/sfuid.c b/regress/sys/arch/hppa/sfuid/sfuid.c
index 6c27e5b7a6a..53256210111 100644
--- a/regress/sys/arch/hppa/sfuid/sfuid.c
+++ b/regress/sys/arch/hppa/sfuid/sfuid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sfuid.c,v 1.1 2004/05/13 01:22:05 mickey Exp $ */
+/* $OpenBSD: sfuid.c,v 1.2 2014/04/18 14:38:21 guenther Exp $ */
/*
* Written by Michael Shalayeff, 2004. Public Domain.
@@ -10,7 +10,7 @@
#include <stdio.h>
#include <err.h>
-#define sfuid(i,r) __asm __volatile( \
+#define sfuid(i,r) __asm volatile( \
"spop1,%1,0 %0" : "=r" (r) : "i" (i))
volatile int sfu;