SOURCES: xorg-driver-video-fglrx-smp.patch - up for 8.10.1
shadzik
shadzik at pld-linux.org
Sun Nov 2 18:45:40 CET 2008
Author: shadzik Date: Sun Nov 2 17:45:40 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- up for 8.10.1
---- Files affected:
SOURCES:
xorg-driver-video-fglrx-smp.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/xorg-driver-video-fglrx-smp.patch
diff -u SOURCES/xorg-driver-video-fglrx-smp.patch:1.1 SOURCES/xorg-driver-video-fglrx-smp.patch:1.2
--- SOURCES/xorg-driver-video-fglrx-smp.patch:1.1 Thu Jun 26 22:05:42 2008
+++ SOURCES/xorg-driver-video-fglrx-smp.patch Sun Nov 2 18:45:34 2008
@@ -1,6 +1,6 @@
---- lib/modules/fglrx/build_mod/firegl_public.c.orig 2008-06-16 23:50:47.000000000 +0200
-+++ lib/modules/fglrx/build_mod/firegl_public.c 2008-06-26 20:55:00.000000000 +0200
-@@ -259,7 +259,7 @@
+--- lib/modules/fglrx/build_mod/firegl_public.c.orig 2008-10-19 12:16:58.000000000 +0200
++++ lib/modules/fglrx/build_mod/firegl_public.c 2008-10-19 16:51:33.000000000 +0200
+@@ -251,7 +251,7 @@
const char BUILD_KERNEL_HAS_MODVERSIONS_CLEARED;
#endif
@@ -9,16 +9,7 @@
const unsigned long __ke_SMP_State = 1;
const char BUILD_KERNEL_HAS_SMP_SET;
#else
-@@ -2592,7 +2592,7 @@
- {
- /*Some kernel developer removed the export of symbol "flush_tlb_page" on 2.6.25 x86_64 SMP kernel.
- Define a simple version here.*/
--#if defined(__x86_64__) && defined(__SMP__) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25))
-+#if defined(__x86_64__) && defined(CONFIG_SMP) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25))
- on_each_cpu(KCL_flush_tlb_one, &va, 1, 1);
- #else
- flush_tlb_page(vma, va);
-@@ -2949,7 +2949,7 @@
+@@ -2728,7 +2728,7 @@
/*****************************************************************************/
@@ -27,21 +18,25 @@
static atomic_t cpus_waiting;
static void deferred_flush(void* contextp)
-@@ -2965,11 +2965,11 @@
+@@ -2744,7 +2744,7 @@
while (atomic_read(&cpus_waiting) > 0)
barrier();
}
-#endif /* __SMP__ */
+#endif /* CONFIG_SMP */
+ /** \brief Run a function on all other CPUs.
+ * \param func The function to run.
+@@ -2760,7 +2760,7 @@
+
int ATI_API_CALL __ke_flush_cache(void)
{
-#ifdef __SMP__
+#ifdef CONFIG_SMP
/* write back invalidate all other CPUs (exported by kernel) */
- if (smp_call_function(deferred_flush, NULL, 1, 0) != 0)
+ if (KCL_SmpCallFunction(deferred_flush, NULL, 1, 0) != 0)
panic("timed out waiting for the other CPUs!\n");
-@@ -2985,7 +2985,7 @@
+@@ -2776,7 +2776,7 @@
while (atomic_read(&cpus_waiting) > 0)
barrier();
@@ -49,8 +44,8 @@
+#else /* !CONFIG_SMP */
#if defined(__i386__) || defined(__x86_64__)
asm volatile ("wbinvd":::"memory");
- #elif defined(__alpha__) || defined(__ia64__) || defined(__sparc__)
-@@ -2993,7 +2993,7 @@
+ #elif defined(__alpha__) || defined(__sparc__)
+@@ -2784,7 +2784,7 @@
#else
#error "Please define flush_cache for your architecture."
#endif
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/xorg-driver-video-fglrx-smp.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list