nvidia-kernel complaining about an undeclared macro "PM_SAVE_STATE": Reproducible: Always Steps to Reproduce: 1.emerge -v mm-sources 2.emerge -v nvidia-kernel 3. Actual Results: /gentoo/var/tmp/portage/nvidia-kernel-1.0.6111/work/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function `nv_acpi_event': /gentoo/var/tmp/portage/nvidia-kernel-1.0.6111/work/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: error: `PM_SAVE_STATE' undeclared (first use in this function) I looked through the 2.6.8.1-mm3 sources, only found a "PM_SUSPEND" defined together with PM_RESUME. the latter is used in the other switch-case in the same function of former. I changed PM_SAVE_STATE to PM_SUSPEND(nv.c:3697). the compilation went fine. still donno what would happend after the reboot. btw: in a OVERLAYED 2.6.8.1-mm2 ebuild, there's no such problem. so this is a change in mm3?
We cant just change the case choice value, we need both for kernels that dont have the change... Attach a patch something to the following PM_SUSPEND: PM_SAVE_STATE: ....whatever happens after PM_SUSPEND
Seems they removed the macro in favour of PM_SUSPEND only existing... Have patched and commited to cvs, closing (works on 2.6.9-* aswell)