rpms/fglrx-kmod/devel fglrx-flush_tlb_page_nosmpcheck.patch, NONE, 1.1 fglrx-kmod.spec, 1.28, 1.29

Stewart Adam firewing at rpmfusion.org
Sun Feb 22 18:05:55 CET 2009


Author: firewing

Update of /cvs/nonfree/rpms/fglrx-kmod/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv15393/devel

Modified Files:
	fglrx-kmod.spec 
Added Files:
	fglrx-flush_tlb_page_nosmpcheck.patch 
Log Message:
* Sat Feb 21 2009 Stewart Adam <s.adam at diffingo.com> - 9.2-2
- Fix flush_tlb_page modprobe errors on x86_64


fglrx-flush_tlb_page_nosmpcheck.patch:

--- NEW FILE fglrx-flush_tlb_page_nosmpcheck.patch ---
--- fglrx/common/lib/modules/fglrx/build_mod/firegl_public.c.orig	2009-02-11 12:40:35.000000000 -0500
+++ fglrx/common/lib/modules/fglrx/build_mod/firegl_public.c	2009-02-21 18:29:13.000000000 -0500
@@ -2256,7 +2256,7 @@
  * kernel <  2.6.27, on_each_cpu has 4 parameters.
  * kernel >= 2.6.27, on_each_cpu has 3 parameters (removed the "retry" parameter)
  */
-#if defined(__x86_64__) && defined(__SMP__) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)) 
+#if defined(__x86_64__) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)) 
 #   if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27))
         on_each_cpu(KCL_flush_tlb_one, &va, 1, 1);
 #   else


Index: fglrx-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/fglrx-kmod/devel/fglrx-kmod.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- fglrx-kmod.spec	20 Feb 2009 22:23:06 -0000	1.28
+++ fglrx-kmod.spec	22 Feb 2009 17:05:54 -0000	1.29
@@ -13,7 +13,7 @@
 
 Name:        fglrx-kmod
 Version:     9.2
-Release:     1%{?dist}
+Release:     2%{?dist}
 # Taken over by kmodtool
 Summary:     AMD display driver kernel module
 Group:       System Environment/Kernel
@@ -22,6 +22,7 @@
 Source0:     http://downloads.diffingo.com/rpmfusion/kmod-data/fglrx-kmod-data-%{version}.tar.bz2
 Source11:    fglrx-kmodtool-excludekernel-filterfile
 Patch0:      makefile-kver-path.patch
+Patch1:      fglrx-flush_tlb_page_nosmpcheck.patch
 
 BuildRoot:   %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -52,6 +53,7 @@
 %endif
 
 %patch0
+%patch1
 
 mkdir fglrxpkg
 %ifarch %{ix86}
@@ -63,7 +65,6 @@
 %endif
 
 # proper permissions
-find fglrxpkg/lib/modules/fglrx/build_mod/ -type d -print0 | xargs -0 chmod 0755
 find fglrxpkg/lib/modules/fglrx/build_mod/ -type f -print0 | xargs -0 chmod 0644
 
 # debuginfo fix
@@ -95,6 +96,9 @@
 
 
 %changelog
+* Sat Feb 21 2009 Stewart Adam <s.adam at diffingo.com> - 9.2-2
+- Fix flush_tlb_page modprobe errors on x86_64
+
 * Fri Feb 20 2009 Stewart Adam <s.adam at diffingo.com> - 9.2-1
 - Update to Catalyst 9.2
 - Use Catalyst version for Version tag instead of internal driver version



More information about the rpmfusion-commits mailing list