diff options
author | jhb <jhb@FreeBSD.org> | 2001-06-29 11:10:41 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-06-29 11:10:41 +0000 |
commit | d82893e6762433665a192f6ffe2dad2a1a6c0678 (patch) | |
tree | cb74fd6ffd13686b7602fd19e3756d344a7b64e2 /sys/powerpc/include/cpu.h | |
parent | 11807e464b0264daf76c2429a84420f80a6605d1 (diff) | |
download | FreeBSD-src-d82893e6762433665a192f6ffe2dad2a1a6c0678.zip FreeBSD-src-d82893e6762433665a192f6ffe2dad2a1a6c0678.tar.gz |
Add a new MI pointer to the process' trapframe p_frame instead of using
various differently named pointers buried under p_md.
Reviewed by: jake (in principle)
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 *)); |