aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha/include/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/alpha/include/cpu.h')
-rw-r--r--sys/alpha/include/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/alpha/include/cpu.h b/sys/alpha/include/cpu.h
index a0be38fe0f51..3da213f66d1c 100644
--- a/sys/alpha/include/cpu.h
+++ b/sys/alpha/include/cpu.h
@@ -52,6 +52,8 @@
#include <machine/frame.h>
+#define cpu_getstack(p) (alpha_pal_rdusp())
+
/*
* Arguments to hardclock and gatherstats encapsulate the previous
* machine state in an opaque clockframe. One the Alpha, we use