[Pkg-fglrx-devel] Bug#517545: fglrx-source: Patch from Fedora Core

Andreas Rottmann a.rottmann at gmx.at
Sat Feb 28 19:17:38 UTC 2009


Package: fglrx-source
Version: 1:9-2-1
Followup-For: Bug #517545


The following patch, extracted from Fedora's fglrx-kmod-9.2-2.fc10.1.src.rpm, fixes 
the problem for me:

<---- snip ----->
--- 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
<----- snap ----->

Regards, Rotty
-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fglrx-source depends on:
ii  bzip2                         1.0.5-1    high-quality block-sorting file co
ii  debhelper                     7.0.50     helper programs for debian/rules
ii  make                          3.81-5     The GNU version of the "make" util

Versions of packages fglrx-source recommends:
ii  kernel-package                11.017     A utility for building Linux kerne
ii  module-assistant              0.10.11.0  tool to make module package creati

Versions of packages fglrx-source suggests:
ii  fglrx-driver                  1:9-2-1    non-free AMD/ATI r5xx, r6xx, r7xx 

-- no debconf information





More information about the Pkg-fglrx-devel mailing list