Building a kernel for a blue & white G3, under Device Drivers -> Macintosh device drivers, I enabled "Apple Desktop Bus (ADB) support" (CONFIG_ADB) and "Support for CUDA based Macs and PowerMacs" (CONFIG_ADB_CUDA) and disabled "Support for PMU based PowerMacs" (CONFIG_ADB_PMU) as those options match the hardware of the machine (as I understand it) and received the following build error : drivers/built-in.o: In function `adb_init': (.init.text+0x307c): undefined reference to `pmu_register_sleep_notifier' Workaround thus far has been to disable CONFIG_ADB - which is not really desirable.
Could you please apply the patch (see attachment) and try again, with CONFIG_ADB_CUDA enabled and CONFIG_ADB_PMU disabled?
Created attachment 122550 [details, diff] use pmu_register_sleep_notifier() only when CONFIG_ADB_PMU defined
Jonathan, have you made any progress with testing this patch yet?
Jonathan, Please reopen when you've had a chance to test the patch from comment #2