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-drivers/files/ati-drivers-linux-4.0.patch | |
parent | 1df4d224a758ee39311dbff64893a509ef78ede2 (diff) |
drop splitted x11 drivers, we go gentoo way
Diffstat (limited to 'x11-drivers/ati-drivers/files/ati-drivers-linux-4.0.patch')
-rw-r--r-- | x11-drivers/ati-drivers/files/ati-drivers-linux-4.0.patch | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/x11-drivers/ati-drivers/files/ati-drivers-linux-4.0.patch b/x11-drivers/ati-drivers/files/ati-drivers-linux-4.0.patch deleted file mode 100644 index 9b321955..00000000 --- a/x11-drivers/ati-drivers/files/ati-drivers-linux-4.0.patch +++ /dev/null @@ -1,72 +0,0 @@ -diff --git a/common/lib/modules/fglrx/build_mod/firegl_public.c b/common/lib/modules/fglrx/build_mod/firegl_public.c -index 0f7399d..eb23e06 100644 ---- a/common/lib/modules/fglrx/build_mod/firegl_public.c -+++ b/common/lib/modules/fglrx/build_mod/firegl_public.c -@@ -4240,8 +4240,13 @@ static void kcl_mem_pat_setup (void *info) - - if (cpu_has_pge) - { -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,20,0) - cr4 = read_cr4(); - write_cr4(cr4 & ~X86_CR4_PGE); -+#else -+ cr4 = __read_cr4(); -+ __write_cr4(cr4 & ~X86_CR4_PGE); -+#endif - } - __flush_tlb(); - -@@ -4254,7 +4259,11 @@ static void kcl_mem_pat_setup (void *info) - write_cr0(cr0 & 0xbfffffff); - if (cpu_has_pge) - { -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,20,0) - write_cr4(cr4); -+#else -+ __write_cr4(cr4); -+#endif - } - local_irq_restore(flags); - -@@ -4281,8 +4290,13 @@ static void kcl_mem_pat_restore (void *info) - - if (cpu_has_pge) - { -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,20,0) - cr4 = read_cr4(); - write_cr4(cr4 & ~X86_CR4_PGE); -+#else -+ cr4 = __read_cr4(); -+ __write_cr4(cr4 & ~X86_CR4_PGE); -+#endif - } - __flush_tlb(); - -@@ -4294,7 +4308,11 @@ static void kcl_mem_pat_restore (void *info) - write_cr0(cr0 & 0xbfffffff); - if (cpu_has_pge) - { -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,20,0) - write_cr4(cr4); -+#else -+ __write_cr4(cr4); -+#endif - } - local_irq_restore(flags); - -diff --git a/common/lib/modules/fglrx/build_mod/kcl_str.c b/common/lib/modules/fglrx/build_mod/kcl_str.c -index 2d89eb0..6df117c 100644 ---- a/common/lib/modules/fglrx/build_mod/kcl_str.c -+++ b/common/lib/modules/fglrx/build_mod/kcl_str.c -@@ -169,7 +169,11 @@ int ATI_API_CALL KCL_STR_Strnicmp(const char* s1, - const char* s2, - KCL_TYPE_SizeSigned count) - { -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,20,0) - return strnicmp(s1, s2, count); -+#else -+ return strncasecmp(s1, s2, count); -+#endif - } - - /** \brief Locate character in string |