lkml.org 
[lkml]   [2009]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [ANNOUNCE] 2.6.31-rc4-rt1
On 07/30/2009 02:48 AM, Thomas Gleixner wrote:
> Part of that semaphore rework is the RFC patch series I posted
> recently to get rid of the init_MUTEX[_LOCKED] irritation (minus
> the ones which turned out to be wrong)

this change breaks the compilation of the binary nvidia kernel module.
in order to build the module, i need to apply the attached patch.

best, tim

--
tim@klingt.org
http://tim.klingt.org

Silence is only frightening to people who are compulsively
verbalizing.
William S. Burroughs
--- /home/tim/.emacs.d/backups/!var!lib!dkms!nvidia!185.18.29!build!nv-linux.h.~1~ 2009-07-30 11:21:49.069661782 +0200
+++ /usr/src/nvidia-185.18.29/nv-linux.h 2009-07-30 11:38:44.857538204 +0200
@@ -721,7 +721,7 @@
#define nv_up(lock) up(&lock)

#if defined(CONFIG_PREEMPT_RT)
-#define NV_INIT_MUTEX(mutex) init_MUTEX(mutex)
+#define NV_INIT_MUTEX(mutex) semaphore_init(mutex)
#else
#if !defined(__SEMAPHORE_INITIALIZER) && defined(__COMPAT_SEMAPHORE_INITIALIZER)
#define __SEMAPHORE_INITIALIZER __COMPAT_SEMAPHORE_INITIALIZER[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2009-07-30 12:07    [W:0.477 / U:10.668 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site