Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=kernel2630.git;a=commitdiff;h=1b20eb05587dcf1f46a01686c5bd1618a56c0246
commit 1b20eb05587dcf1f46a01686c5bd1618a56c0246 Author: Miklos Vajna <vmik...@frugalware.org> Date: Sat Jun 13 23:38:06 2009 +0200 fglrx-8.612-1-i686 - add fglrx-flush_tlb_page.patch - fixes "fglrx: Unknown symbol flush_tlb_page" diff --git a/source/x11-extra/fglrx/FrugalBuild b/source/x11-extra/fglrx/FrugalBuild index b5b50f8..b2e08e5 100644 --- a/source/x11-extra/fglrx/FrugalBuild +++ b/source/x11-extra/fglrx/FrugalBuild @@ -29,7 +29,7 @@ install=$pkgname.install up2date=$pkgver source=(https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-${_shortver}-x86.x86_64.run \ README.Frugalware libGL.la license.diff fglrx-2.6.29-fixes.patch fglrx-2.6.30-irqreturn_t.patch \ - fglrx-missing-pci_enable_msi.patch) + fglrx-missing-pci_enable_msi.patch fglrx-flush_tlb_page.patch) options=(${optio...@]} 'nodocs') sha1sums=('d31b7b246edcbe50fc3bbbf2d36eddf14d57cc61' \ 'b64a2303c77f84f5e5db13c9c8fd55f43fa9699b' \ @@ -37,7 +37,8 @@ sha1sums=('d31b7b246edcbe50fc3bbbf2d36eddf14d57cc61' \ 'bfbcbc939ca2d0cbe20eb306ed59ef49c2bea06a' \ '23428bf618d85ee166022362a015a277213aeae6' \ '181ed7332ecb53dee38e2c080f9fda20ad0f90a2' \ - '27d6fd2ed6547143c69b7ad9957cddc8bfc08e83') + '27d6fd2ed6547143c69b7ad9957cddc8bfc08e83' \ + 'cca8de69837a248934e92f2d00e0eba92c9e3db3') # for xorg-server <1.5.0. need to change it to x740 once we have # >=1.5.0! diff --git a/source/x11-extra/fglrx/fglrx-flush_tlb_page.patch b/source/x11-extra/fglrx/fglrx-flush_tlb_page.patch new file mode 100644 index 0000000..2193f8d --- /dev/null +++ b/source/x11-extra/fglrx/fglrx-flush_tlb_page.patch @@ -0,0 +1,13 @@ +tlb_flush_page is no longer exported on i686, either. + +--- common/lib/modules/fglrx/build_mod/firegl_public.c.orig 2009-06-13 23:34:05.000000000 +0200 ++++ common/lib/modules/fglrx/build_mod/firegl_public.c 2009-06-13 23:34:51.000000000 +0200 +@@ -2308,7 +2308,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__) || defined(CONFIG_SMP)) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)) ++#if (defined(__SMP__) || defined(CONFIG_SMP)) && (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 _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git