Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 223153 Details for
Bug 308945
All current x11-drivers/nvidia-driver versions break with new linux-2.6.33-rt patch series
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
New patch version
nvidia-drivers-190.53-2.6.33-rt.patch (text/plain), 1.96 KB, created by
filip
on 2010-03-11 15:10:48 UTC
(
hide
)
Description:
New patch version
Filename:
MIME Type:
Creator:
filip
Created:
2010-03-11 15:10:48 UTC
Size:
1.96 KB
patch
obsolete
>Files NVIDIA-Linux-x86_64-190.53-pkg2-old/usr/src/nv/.nv.c.swp and NVIDIA-Linux-x86_64-190.53-pkg2/usr/src/nv/.nv.c.swp differ >diff -uNr NVIDIA-Linux-x86_64-190.53-pkg2-old/usr/src/nv/nv-linux.h NVIDIA-Linux-x86_64-190.53-pkg2/usr/src/nv/nv-linux.h >--- NVIDIA-Linux-x86_64-190.53-pkg2-old/usr/src/nv/nv-linux.h 2009-12-10 01:41:16.000000000 +0100 >+++ NVIDIA-Linux-x86_64-190.53-pkg2/usr/src/nv/nv-linux.h 2010-03-11 11:50:46.706211443 +0100 >@@ -199,6 +199,7 @@ > #endif > > #if defined(CONFIG_PREEMPT_RT) >+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33) > typedef atomic_spinlock_t nv_spinlock_t; > #define NV_SPIN_LOCK_INIT(lock) atomic_spin_lock_init(lock) > #define NV_SPIN_LOCK_IRQ(lock) atomic_spin_lock_irq(lock) >@@ -210,6 +211,18 @@ > #define NV_SPIN_UNLOCK(lock) atomic_spin_unlock(lock) > #define NV_SPIN_UNLOCK_WAIT(lock) atomic_spin_unlock_wait(lock) > #else >+typedef raw_spinlock_t nv_spinlock_t; >+#define NV_SPIN_LOCK_INIT(lock) raw_spin_lock_init(lock) >+#define NV_SPIN_LOCK_IRQ(lock) raw_spin_lock_irq(lock) >+#define NV_SPIN_UNLOCK_IRQ(lock) raw_spin_unlock_irq(lock) >+#define NV_SPIN_LOCK_IRQSAVE(lock,flags) raw_spin_lock_irqsave(lock,flags) >+#define NV_SPIN_UNLOCK_IRQRESTORE(lock,flags) \ >+ raw_spin_unlock_irqrestore(lock,flags) >+#define NV_SPIN_LOCK(lock) raw_spin_lock(lock) >+#define NV_SPIN_UNLOCK(lock) raw_spin_unlock(lock) >+#define NV_SPIN_UNLOCK_WAIT(lock) raw_spin_unlock_wait(lock) >+#endif >+#else > typedef spinlock_t nv_spinlock_t; > #define NV_SPIN_LOCK_INIT(lock) spin_lock_init(lock) > #define NV_SPIN_LOCK_IRQ(lock) spin_lock_irq(lock) >@@ -758,8 +771,12 @@ > } > > #if defined(CONFIG_PREEMPT_RT) >+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33) > #define NV_INIT_MUTEX(mutex) semaphore_init(mutex) > #else >+#define NV_INIT_MUTEX(mutex) mutex_init(mutex) >+#endif >+#else > #if !defined(__SEMAPHORE_INITIALIZER) && defined(__COMPAT_SEMAPHORE_INITIALIZER) > #define __SEMAPHORE_INITIALIZER __COMPAT_SEMAPHORE_INITIALIZER > #endif
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 308945
:
223131
| 223153