x11-drivers/ati-drivers: Fix compile errors and preemption bug
authorFernando Rodriguez <frodriguez.developer@outlook.com>
Wed, 16 Sep 2015 22:24:47 +0000 (18:24 -0400)
committerIan Delaney <idella4@gentoo.org>
Wed, 23 Sep 2015 09:21:10 +0000 (17:21 +0800)
commit6913a35966d89d28ed6208ab9a58c20fd8a80396
tree588b1aed5e88ae8b428d0920b181fe9091dac936
parentbc5d65a08bdd432da485598fe0bbe04daba4326d
x11-drivers/ati-drivers: Fix compile errors and preemption bug

Ebuild cleanup and patches to compile against recent kernels by
replacing calls that use GPL'd kernel symbols with our own
implementation and several others to fix compile errors caused
by API changes on recent kernels.

Also adds patch to disable preemption before calling certain
kernel functions that trigger the following error:

BUG: using smp_processor_id() in preemptible [00000000] code:firegl/3657

Gentoo-Bug: 548118
Gentoo-Bug: 542320
x11-drivers/ati-drivers/ati-drivers-15.9.ebuild
x11-drivers/ati-drivers/files/15.9-fpu.patch [new file with mode: 0644]
x11-drivers/ati-drivers/files/15.9-kcl_str.patch [new file with mode: 0644]
x11-drivers/ati-drivers/files/15.9-mtrr.patch [new file with mode: 0644]
x11-drivers/ati-drivers/files/15.9-preempt.patch [new file with mode: 0644]
x11-drivers/ati-drivers/files/15.9-remove-gpl-symbols.patch [new file with mode: 0644]
x11-drivers/ati-drivers/files/15.9-sep_printf.patch [new file with mode: 0644]