diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-05-03 21:03:07 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-05-03 21:03:07 +0000 |
commit | c3973be796a91a91dd197a32b44a2ac6e32901a4 (patch) | |
tree | 822a546615161c7701a00c155c7c143a1d6648de /sys | |
parent | 49ba31ab551198f777502220e9f47db815c78e97 (diff) |
Add dummy functions to make MULTIPROCESSOR kernels compile.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/macppc/macppc/cpu.c | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/sys/arch/macppc/macppc/cpu.c b/sys/arch/macppc/macppc/cpu.c index c338dfee313..d847f2d1e4f 100644 --- a/sys/arch/macppc/macppc/cpu.c +++ b/sys/arch/macppc/macppc/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.40 2007/03/31 09:44:21 kettenis Exp $ */ +/* $OpenBSD: cpu.c,v 1.41 2007/05/03 21:03:06 kettenis Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom @@ -532,3 +532,22 @@ config_l2cr(int cpu) } else printf(": L2 cache not enabled"); } + +#ifdef MULTIPROCESSOR + +void cpu_hatch(void); +void cpu_spinup_trampoline(void); + +volatile int cpu_hatch_stack; + +void +cpu_boot_secondary_processors(void) +{ +} + +void +cpu_hatch(void) +{ +} + +#endif |