]> Git Repo - linux.git/commitdiff
[PATCH] lockdep: mutex section binutils workaround
authorIngo Molnar <[email protected]>
Mon, 3 Jul 2006 07:24:33 +0000 (00:24 -0700)
committerLinus Torvalds <[email protected]>
Mon, 3 Jul 2006 22:27:01 +0000 (15:27 -0700)
Work around weird section nesting build bug causing smp-alternatives failures
under certain circumstances.

Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Arjan van de Ven <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
kernel/mutex.c

index 3aad0b7992f4bd94e99ba18d8ecdbf7552d5d383..43a50c18701abb149d274f22e290d355416bdf81 100644 (file)
@@ -313,7 +313,7 @@ static inline int __mutex_trylock_slowpath(atomic_t *lock_count)
  * This function must not be used in interrupt context. The
  * mutex must be released by the same task that acquired it.
  */
-int fastcall mutex_trylock(struct mutex *lock)
+int fastcall __sched mutex_trylock(struct mutex *lock)
 {
        return __mutex_fastpath_trylock(&lock->count,
                                        __mutex_trylock_slowpath);
This page took 0.054876 seconds and 4 git commands to generate.