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@xxxxxxxxxx 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
Attachment:
signature.asc
Description: OpenPGP digital signature