summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/include/cpu.h2
-rw-r--r--sys/powerpc/include/proc.h1
2 files changed, 1 insertions, 2 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 *));
diff --git a/sys/powerpc/include/proc.h b/sys/powerpc/include/proc.h
index 370a9b2..21b9b32 100644
--- a/sys/powerpc/include/proc.h
+++ b/sys/powerpc/include/proc.h
@@ -38,5 +38,4 @@
* Machine-dependent part of the proc structure
*/
struct mdproc {
- int md_regs[32];
};
OpenPOWER on IntegriCloud