Commit 88271e9e authored by Ingo Molnar's avatar Ingo Molnar Committed by Andi Kleen

[PATCH] i386: fix rwsem build bug on CONFIG_M386=y

CONFIG_M386 turns on spinlock-based generic rwsems - which surprises the
semaphore.S rwsem stubs. Tested both with and without CONFIG_M386.
Reported-by: default avatarKlaus Knopper <knopper@knopper.net>
Triaged-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
parent 7d0b0e8d
...@@ -152,6 +152,8 @@ ENTRY(__read_lock_failed) ...@@ -152,6 +152,8 @@ ENTRY(__read_lock_failed)
#endif #endif
#ifdef CONFIG_RWSEM_XCHGADD_ALGORITHM
/* Fix up special calling conventions */ /* Fix up special calling conventions */
ENTRY(call_rwsem_down_read_failed) ENTRY(call_rwsem_down_read_failed)
CFI_STARTPROC CFI_STARTPROC
...@@ -214,3 +216,4 @@ ENTRY(call_rwsem_downgrade_wake) ...@@ -214,3 +216,4 @@ ENTRY(call_rwsem_downgrade_wake)
CFI_ENDPROC CFI_ENDPROC
END(call_rwsem_downgrade_wake) END(call_rwsem_downgrade_wake)
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment