Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 368081 | Differences between
and this patch

Collapse All | Expand All

(-)fglrx-driver-11-3.orig/common/lib/modules/fglrx/build_mod/drmP.h (+4 lines)
Lines 57-63 Link Here
57
#include <linux/pci.h>
57
#include <linux/pci.h>
58
#include <linux/version.h>
58
#include <linux/version.h>
59
#include <linux/sched.h>
59
#include <linux/sched.h>
60
/* with no Big Kernel Lock and linux 2.6.38
61
   and higher smp_lock.h is removed      */
62
#ifdef CONFIG_KERNEL_LOCK || LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
60
#include <linux/smp_lock.h>	/* For (un)lock_kernel */
63
#include <linux/smp_lock.h>	/* For (un)lock_kernel */
64
#endif
61
#include <linux/mm.h>
65
#include <linux/mm.h>
62
#include <linux/pagemap.h>
66
#include <linux/pagemap.h>
63
#if defined(__alpha__) || defined(__powerpc__)
67
#if defined(__alpha__) || defined(__powerpc__)
(-)fglrx-driver-11-3.orig/common/lib/modules/fglrx/build_mod/firegl_public.c (-1 / +10 lines)
Lines 116-122 Link Here
116
#include <linux/pci.h>
116
#include <linux/pci.h>
117
#include <linux/wait.h>
117
#include <linux/wait.h>
118
#include <linux/miscdevice.h>
118
#include <linux/miscdevice.h>
119
#include <linux/smp_lock.h>
119
120
/* with no Big Kernel Lock and linux 2.6.38
121
   and higher is smp_lock.h removed.
122
   instead of smp_lock.h is sched.h required    */
123
#ifdef CONFIG_KERNEL_LOCK || LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
124
#include <linux/smp_lock.h>	/* For (un)lock_kernel */
125
#else
126
#include <linux/sched.h>
127
#endif
128
120
// newer SuSE kernels need this
129
// newer SuSE kernels need this
121
#include <linux/highmem.h>
130
#include <linux/highmem.h>
122
131

Return to bug 368081