summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/cpu.h
diff options
context:
space:
mode:
authormp <mp@FreeBSD.org>2001-09-20 00:47:17 +0000
committermp <mp@FreeBSD.org>2001-09-20 00:47:17 +0000
commita2e5cb9c1ece11bd25f867c25e6f34022389125f (patch)
treec07dd541ea7e2e8cf948e0f0147a7d96d38bf958 /sys/powerpc/include/cpu.h
parent7418b6f0974dece312233d4ca5fd06777377bf9c (diff)
downloadFreeBSD-src-a2e5cb9c1ece11bd25f867c25e6f34022389125f.zip
FreeBSD-src-a2e5cb9c1ece11bd25f867c25e6f34022389125f.tar.gz
Update PowerPC MD code to compile and do initial bootstrap based on
recent changes (KSE and VM requiring physmem to be setup). Reviewed by: benno, jhb, julian
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 37ca02b..a7c70c1 100644
--- a/sys/powerpc/include/cpu.h
+++ b/sys/powerpc/include/cpu.h
@@ -92,7 +92,7 @@ get_cyclecount(void)
return (time);
}
-#define cpu_getstack(p) ((p)->p_frame->fixreg[1])
+#define cpu_getstack(td) ((td)->td_frame->fixreg[1])
void savectx __P((struct pcb *));
OpenPOWER on IntegriCloud