Add stubs for macppc suspend
authorgkoehler <gkoehler@openbsd.org>
Thu, 10 Feb 2022 05:48:02 +0000 (05:48 +0000)
committergkoehler <gkoehler@openbsd.org>
Thu, 10 Feb 2022 05:48:02 +0000 (05:48 +0000)
commite1938dd5a84ba824d7bd1885fbce8030aeeda4bf
tree2a7a2711f636d123e77d2fbe16b158d4803ddcdf
parent346b7cc1d2cfc835ddf7dba48f35650032abbfdc
Add stubs for macppc suspend

These stubs don't work; they only pretend to suspend the machine.
SUSPEND + MULTIPROCESSOR doesn't build.  zzz(8) stops giving an error
message, even in no-SUSPEND kernels.

Add intr_enable in <powerpc/cpu.h>, adapted from powerpc64, because
subr_suspend.c calls intr_enable().
sys/arch/macppc/dev/apm.c
sys/arch/powerpc/include/cpu.h