From: Ingo Molnar Work around weird section nesting build bug causing smp-alternatives failures under certain circumstances. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven Signed-off-by: Andrew Morton --- kernel/mutex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN kernel/mutex.c~lock-validator-mutex-section-binutils-workaround kernel/mutex.c --- devel/kernel/mutex.c~lock-validator-mutex-section-binutils-workaround 2006-05-29 18:12:30.000000000 -0700 +++ devel-akpm/kernel/mutex.c 2006-05-29 18:12:30.000000000 -0700 @@ -309,7 +309,7 @@ static inline int __mutex_trylock_slowpa * 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); _