summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/cpu.h
diff options
context:
space:
mode:
authorbenno <benno@FreeBSD.org>2001-10-15 12:23:10 +0000
committerbenno <benno@FreeBSD.org>2001-10-15 12:23:10 +0000
commit3194e2622fbf18231f40bfe7b6f24046ad429335 (patch)
tree743457ebc2fc08394f09ab6100e948b0f5b10bf6 /sys/powerpc/include/cpu.h
parent7c8b3271530c5598e91180e5daa4f890fa858562 (diff)
downloadFreeBSD-src-3194e2622fbf18231f40bfe7b6f24046ad429335.zip
FreeBSD-src-3194e2622fbf18231f40bfe7b6f24046ad429335.tar.gz
- Correct the type of the argument to delay() so as to not conflict with
sys/boot/common/bootstrap.h. - Add a prototype for fork_trampoline().
Diffstat (limited to 'sys/powerpc/include/cpu.h')
-rw-r--r--sys/powerpc/include/cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/powerpc/include/cpu.h b/sys/powerpc/include/cpu.h
index a7c70c1..e23732f 100644
--- a/sys/powerpc/include/cpu.h
+++ b/sys/powerpc/include/cpu.h
@@ -50,7 +50,7 @@
#define cpu_swapout(p)
#define cpu_number() 0
-extern void delay __P((unsigned));
+void delay(int);
#define DELAY(n) delay(n)
extern int want_resched;
@@ -95,5 +95,6 @@ get_cyclecount(void)
#define cpu_getstack(td) ((td)->td_frame->fixreg[1])
void savectx __P((struct pcb *));
+void fork_trampoline(void);
#endif /* _MACHINE_CPU_H_ */
OpenPOWER on IntegriCloud