diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-10-04 19:09:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-10-04 19:09:51 +0100 |
commit | 836dcf91c181df6afb0f658bf31d34744f8ff052 (patch) | |
tree | 17d553cc348a5cdf287a55c96021971340cd5b1d /x11-drivers/ati-userspace/files/ati-drivers-2.6.38.patch | |
parent | 1df4d224a758ee39311dbff64893a509ef78ede2 (diff) |
drop splitted x11 drivers, we go gentoo way
Diffstat (limited to 'x11-drivers/ati-userspace/files/ati-drivers-2.6.38.patch')
-rw-r--r-- | x11-drivers/ati-userspace/files/ati-drivers-2.6.38.patch | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/x11-drivers/ati-userspace/files/ati-drivers-2.6.38.patch b/x11-drivers/ati-userspace/files/ati-drivers-2.6.38.patch deleted file mode 100644 index 1ecafece..00000000 --- a/x11-drivers/ati-userspace/files/ati-drivers-2.6.38.patch +++ /dev/null @@ -1,59 +0,0 @@ -Description: Add Linux 2.6.38 support - The following commit renamed acquire_console_sem to console_lock and - release_console_sem to console_unlock on the Linux kernel: - http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff -Author: Miguel Colon <debian.micove@gmail.com> -Forwarded: no -Last-Update: 2011-02-01 - ---- fglrx-driver-11-1.orig/common/lib/modules/fglrx/build_mod/firegl_public.c -+++ fglrx-driver-11-1/common/lib/modules/fglrx/build_mod/firegl_public.c -@@ -850,7 +850,12 @@ static int fglrx_pci_suspend(struct pci_ - * happen much less frequent then without this workaround. - */ - if (state == PM_EVENT_SUSPEND) -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38) -+ console_lock(); -+#else - acquire_console_sem(); -+#endif -+ - - if (firegl_cail_powerdown(privdev, state)) - ret = -EIO; -@@ -872,7 +877,11 @@ static int fglrx_pci_suspend(struct pci_ - } - - if (state == PM_EVENT_SUSPEND) -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38) -+ console_unlock(); -+#else - release_console_sem(); -+#endif - - KCL_DEBUG_TRACEOUT(FN_FIREGL_ACPI, ret, NULL); - -@@ -896,7 +905,11 @@ static int fglrx_pci_resume(struct pci_d - if (PMSG_EVENT(pdev->dev.power.power_state) == 0) return 0; - - if (PMSG_EVENT(pdev->dev.power.power_state) == PM_EVENT_SUSPEND) -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38) -+ console_lock(); -+#else - acquire_console_sem(); -+#endif - - #ifdef FIREGL_USWC_SUPPORT - // Restore the PAT after resuming from S3 or S4. -@@ -921,7 +934,11 @@ static int fglrx_pci_resume(struct pci_d - firegl_cail_powerup(privdev); - - if (PMSG_EVENT(pdev->dev.power.power_state) == PM_EVENT_SUSPEND) -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38) -+ console_unlock(); -+#else - release_console_sem(); -+#endif - - PMSG_EVENT(pdev->dev.power.power_state) = 0; - KCL_DEBUG_TRACEOUT(FN_FIREGL_ACPI, 0, NULL); |