[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)
commit73165b88ffd29813bf73b331eaf90d3521443236
tree224b510df182c5cba7b64fea6202ed9dd414835e
parent042c904c3e35e95ac911e8a2bf4097099b059e1a
[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