diff options
author | Andrew Bevitt <cyfred@gentoo.org> | 2004-08-27 16:50:47 +0000 |
---|---|---|
committer | Andrew Bevitt <cyfred@gentoo.org> | 2004-08-27 16:50:47 +0000 |
commit | 354c374f014a9c3e85bd6de2462618e35c058719 (patch) | |
tree | 20ffe822e4082eddef3033e805ec5a71d8ce245d /media-video/nvidia-kernel/files | |
parent | Initial commit of ebuild for version 1.0.0 (Manifest recommit) (diff) | |
download | gentoo-2-354c374f014a9c3e85bd6de2462618e35c058719.tar.gz gentoo-2-354c374f014a9c3e85bd6de2462618e35c058719.tar.bz2 gentoo-2-354c374f014a9c3e85bd6de2462618e35c058719.zip |
Patch for 2.6.9 PM_SUSPEND compatibility
Diffstat (limited to 'media-video/nvidia-kernel/files')
-rw-r--r-- | media-video/nvidia-kernel/files/1.0.6111/power-suspend-2.6.9-changes.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/media-video/nvidia-kernel/files/1.0.6111/power-suspend-2.6.9-changes.patch b/media-video/nvidia-kernel/files/1.0.6111/power-suspend-2.6.9-changes.patch new file mode 100644 index 000000000000..8519a47ab15d --- /dev/null +++ b/media-video/nvidia-kernel/files/1.0.6111/power-suspend-2.6.9-changes.patch @@ -0,0 +1,20 @@ +--- usr/src/nv/nv.c.orig 2004-08-28 02:48:36.393223808 +1000 ++++ usr/src/nv/nv.c 2004-08-28 02:50:36.354986848 +1000 +@@ -3692,9 +3692,16 @@ + return -1; + } + ++ // Fix up problems with PM_SAVE_STATE being removed from 2.6.9 ++ #ifdef PM_SAVE_STATE ++ #define PM_TMP PM_SAVE_STATE ++ #else ++ #define PM_TMP PM_SUSPEND ++ #endif ++ + switch (state) + { +- case PM_SAVE_STATE: ++ case PM_TMP: + nv_printf(NV_DBG_INFO, "NVRM: ACPI: received standby event\n"); + status = rm_power_management(nv, 0, NV_PM_ACPI_STANDBY); + break; |