summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-03-01 17:18:02 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-03-01 17:18:02 +0000
commit6ddfbcf5be91ed7546c81c3d9b4bd52d37a1d264 (patch)
treedda27c2964a8a4a3c4646c14b5e20d4d30db5aa9 /sys
parent5e77d28b5fade908e4db9ea3a44c1cf2c2350c24 (diff)
Use __alpha__ and __mips__ instead of alpha & arc
Diffstat (limited to 'sys')
-rw-r--r--sys/miscfs/nullfs/null.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/nullfs/null.h b/sys/miscfs/nullfs/null.h
index bee798d2c03..ae1ac9ed50a 100644
--- a/sys/miscfs/nullfs/null.h
+++ b/sys/miscfs/nullfs/null.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: null.h,v 1.8 1998/03/01 17:01:24 niklas Exp $ */
+/* $OpenBSD: null.h,v 1.9 1998/03/01 17:18:01 niklas Exp $ */
/* $NetBSD: null.h,v 1.7 1996/05/17 20:53:11 gwr Exp $ */
/*
@@ -69,7 +69,7 @@ struct null_node {
#define RETURN_PC(frameno) (void *)0
#else
/* Some architectures can just get the current frame's return address */
-#if defined(alpha) || defined(arc)
+#if defined(__alpha__) || defined(__mips__)
#define RETURN_PC(frameno) (frameno ? 0 : __builtin_return_address(frameno))
#else
#define RETURN_PC(frameno) __builtin_return_address(frameno)