aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/include/cpu.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-06-29 11:10:41 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-06-29 11:10:41 +0000
commit6be523bca7a9ffdeef7141602017ab1b2f833a52 (patch)
treecb74fd6ffd13686b7602fd19e3756d344a7b64e2 /sys/powerpc/include/cpu.h
parentec2262612f4f696088834aa862c91f7af8ace232 (diff)
Notes
Diffstat (limited to 'sys/powerpc/include/cpu.h')
-rw-r--r--sys/powerpc/include/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/include/cpu.h b/sys/powerpc/include/cpu.h
index 3050b59ea5af9..cabcbecf191fa 100644
--- a/sys/powerpc/include/cpu.h
+++ b/sys/powerpc/include/cpu.h
@@ -91,7 +91,7 @@ get_cyclecount(void)
return (time);
}
-#define cpu_getstack(p) ((p)->p_md.md_regs[1])
+#define cpu_getstack(p) ((p)->p_frame->fixreg[1])
void savectx __P((struct pcb *));