summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
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)