diff options
Diffstat (limited to 'sys/powerpc/include/cpu.h')
-rw-r--r-- | sys/powerpc/include/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/include/cpu.h b/sys/powerpc/include/cpu.h index 3050b59..cabcbec 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 *)); |