]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] fix i386 mutex fastpath on FRAME_POINTER && !DEBUG_MUTEXES
authorIngo Molnar <mingo@elte.hu>
Tue, 10 Jan 2006 21:07:44 +0000 (22:07 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Jan 2006 21:20:47 +0000 (13:20 -0800)
commit3902a009c001d4f3563081e47555d17f75bb4547
tree224b510df182c5cba7b64fea6202ed9dd414835e
parent0eac692c5b6be4690cc5d927ee4607ee858dd349
[PATCH] fix i386 mutex fastpath on FRAME_POINTER && !DEBUG_MUTEXES

Call the mutex slowpath more conservatively - e.g.  FRAME_POINTERS can
change the calling convention, in which case a direct branch to the
slowpath becomes illegal.  Bug found by Hugh Dickins.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/mutex.h
kernel/mutex.c