Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 274057 Details for
Bug 368081
x11-drivers/ati-drivers-11.5 fail with kernel 2.6.39 (CONFIG_BKL)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch2
06-no-smp-lock.diff (text/plain), 1.69 KB, created by
Sergey Dulko
on 2011-05-20 04:46:33 UTC
(
hide
)
Description:
patch2
Filename:
MIME Type:
Creator:
Sergey Dulko
Created:
2011-05-20 04:46:33 UTC
Size:
1.69 KB
patch
obsolete
># Do not include smp_lock.h if the Kernel is built without BKL. ># Closes: #619952 > >diff -Naur fglrx-driver-11-3.orig/common/lib/modules/fglrx/build_mod/drmP.h fglrx-driver-11-3/common/lib/modules/fglrx/build_mod/drmP.h >--- fglrx-driver-11-3.orig/common/lib/modules/fglrx/build_mod/drmP.h 2011-03-24 17:00:28.000000000 +0100 >+++ fglrx-driver-11-3/common/lib/modules/fglrx/build_mod/drmP.h 2011-03-29 20:39:05.000000000 +0200 >@@ -57,7 +57,11 @@ > #include <linux/pci.h> > #include <linux/version.h> > #include <linux/sched.h> >+/* with no Big Kernel Lock and linux 2.6.38 >+ and higher smp_lock.h is removed */ >+#ifdef CONFIG_KERNEL_LOCK || LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) > #include <linux/smp_lock.h> /* For (un)lock_kernel */ >+#endif > #include <linux/mm.h> > #include <linux/pagemap.h> > #if defined(__alpha__) || defined(__powerpc__) >diff -Naur fglrx-driver-11-3.orig/common/lib/modules/fglrx/build_mod/firegl_public.c fglrx-driver-11-3/common/lib/modules/fglrx/build_mod/firegl_public.c >--- fglrx-driver-11-3.orig/common/lib/modules/fglrx/build_mod/firegl_public.c 2011-03-29 20:37:04.000000000 +0200 >+++ fglrx-driver-11-3/common/lib/modules/fglrx/build_mod/firegl_public.c 2011-03-29 20:39:05.000000000 +0200 >@@ -116,7 +116,16 @@ > #include <linux/pci.h> > #include <linux/wait.h> > #include <linux/miscdevice.h> >-#include <linux/smp_lock.h> >+ >+/* with no Big Kernel Lock and linux 2.6.38 >+ and higher is smp_lock.h removed. >+ instead of smp_lock.h is sched.h required */ >+#ifdef CONFIG_KERNEL_LOCK || LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) >+#include <linux/smp_lock.h> /* For (un)lock_kernel */ >+#else >+#include <linux/sched.h> >+#endif >+ > // newer SuSE kernels need this > #include <linux/highmem.h> >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 368081
:
274055
| 274057 |
274059