Commit 5b3f2558 authored by Zwane Mwaikambo's avatar Zwane Mwaikambo Committed by Linus Torvalds

[PATCH] Correct ELF section used for out of line spinlocks

Anton Blanchard noted that vmlinux.lds is using .lock.text but
__lockfunc was using .spinlock.text.

Make them consistent.
Signed-off-by: default avatarZwane Mwaikambo <zwane@linuxpower.ca>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 5cdd97cb
...@@ -80,5 +80,5 @@ ...@@ -80,5 +80,5 @@
#define LOCK_TEXT \ #define LOCK_TEXT \
VMLINUX_SYMBOL(__lock_text_start) = .; \ VMLINUX_SYMBOL(__lock_text_start) = .; \
*(.lock.text) \ *(.spinlock.text) \
VMLINUX_SYMBOL(__lock_text_end) = .; VMLINUX_SYMBOL(__lock_text_end) = .;
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