From: "Enrico Tagliavini" <enrico.tagliavini@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/x11:master commit in: x11-drivers/ati-drivers/, x11-drivers/ati-drivers/files/
Date: Tue, 1 May 2012 13:03:50 +0000 (UTC) [thread overview]
Message-ID: <1335877413.443439142344878f77b7076980e94954dd080718.Enrico@gentoo> (raw)
commit: 443439142344878f77b7076980e94954dd080718
Author: Enrico Tagliavini <enrico.tagliavini <AT> gmail <DOT> com>
AuthorDate: Tue May 1 13:03:33 2012 +0000
Commit: Enrico Tagliavini <enrico.tagliavini <AT> gmail <DOT> com>
CommitDate: Tue May 1 13:03:33 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=44343914
x11-drivers/ati-drivers: add kernel 3.4 support
This should fix bug #413569. See also [1]
[1] https://lkml.org/lkml/2012/4/10/485
---
x11-drivers/ati-drivers/ati-drivers-12.4.ebuild | 4 ++++
.../files/amd-cpu_possible_map_define.patch | 13 +++++++++++++
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/x11-drivers/ati-drivers/ati-drivers-12.4.ebuild b/x11-drivers/ati-drivers/ati-drivers-12.4.ebuild
index 4b062be..679290c 100644
--- a/x11-drivers/ati-drivers/ati-drivers-12.4.ebuild
+++ b/x11-drivers/ati-drivers/ati-drivers-12.4.ebuild
@@ -330,6 +330,10 @@ src_prepare() {
# and finally backported to kernel 3.2.8.
epatch "${FILESDIR}"/amd-drivers-3.2.7.1.patch
+ # see https://lkml.org/lkml/2012/4/10/485 3.4.0-rc remove the define of
+ # cpu_possible_map, we add it back temporary util AMD fixes
+ epatch "${FILESDIR}"/amd-cpu_possible_map_define.patch
+
cd "${MODULE_DIR}"
# bugged fglrx build system, this file should be copied by hand
diff --git a/x11-drivers/ati-drivers/files/amd-cpu_possible_map_define.patch b/x11-drivers/ati-drivers/files/amd-cpu_possible_map_define.patch
new file mode 100644
index 0000000..5b3cb9a
--- /dev/null
+++ b/x11-drivers/ati-drivers/files/amd-cpu_possible_map_define.patch
@@ -0,0 +1,13 @@
+--- common/lib/modules/fglrx/build_mod/firegl_public.c.orig 2012-05-01 14:35:33.453055055 +0200
++++ common/lib/modules/fglrx/build_mod/firegl_public.c 2012-05-01 14:36:42.184270842 +0200
+@@ -219,6 +219,10 @@
+ #define preempt_enable()
+ #endif
+
++#ifndef cpu_possible_map
++#define cpu_possible_map (*(cpumask_t *)cpu_possible_mask)
++#endif
++
+ // ============================================================
+ /* globals */
+
next reply other threads:[~2012-05-01 13:03 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-01 13:03 Enrico Tagliavini [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-12-08 11:19 [gentoo-commits] proj/x11:master commit in: x11-drivers/ati-drivers/, x11-drivers/ati-drivers/files/ Emil Karlson
2015-02-12 20:03 Emil Karlson
2014-11-10 20:07 Emil Karlson
2014-01-22 21:48 Emil Karlson
2013-09-07 6:36 Emil Karlson
2013-06-15 16:49 Emil Karlson
2013-06-10 16:35 Emil Karlson
2013-05-19 0:25 Emil Karlson
2013-05-11 2:15 Emil Karlson
2013-02-15 18:49 Emil Karlson
2012-12-23 17:06 Emil Karlson
2012-11-11 1:29 Chi-Thanh Christopher Nguyen
2012-10-21 22:21 Emil Karlson
2012-09-14 15:48 Emil Karlson
2012-06-23 14:58 Enrico Tagliavini
2012-06-15 17:21 Enrico Tagliavini
2012-05-26 21:06 Enrico Tagliavini
2012-04-26 17:53 Enrico Tagliavini
2012-03-08 19:01 Enrico Tagliavini
2011-12-30 15:03 Enrico Tagliavini
2011-10-15 14:39 Enrico Tagliavini
2011-09-28 20:27 Enrico Tagliavini
2011-08-19 10:06 Enrico Tagliavini
2011-05-21 10:00 Enrico Tagliavini
2011-03-30 9:51 Enrico Tagliavini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1335877413.443439142344878f77b7076980e94954dd080718.Enrico@gentoo \
--to=enrico.tagliavini@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox