* Correct ELF section used for out of line spinlocks
@ 2004-09-05 7:15 Anton Blanchard
2004-09-05 14:06 ` Zwane Mwaikambo
0 siblings, 1 reply; 2+ messages in thread
From: Anton Blanchard @ 2004-09-05 7:15 UTC (permalink / raw)
To: torvalds, zwane; +Cc: linux-kernel
Hi,
The vmlinux.lds is using .lock.text but __lockfunc was using
.spinlock.text.
Anton
Signed-off-by: Anton Blanchard <anton@samba.org>
diff -puN include/linux/spinlock.h~fix_outofline_spinlocks include/linux/spinlock.h
--- gr_work/include/linux/spinlock.h~fix_outofline_spinlocks 2004-09-05 02:05:53.243858818 -0500
+++ gr_work-anton/include/linux/spinlock.h 2004-09-05 02:06:06.177805993 -0500
@@ -38,7 +38,7 @@
#ifdef CONFIG_SMP
#include <asm/spinlock.h>
-#define __lockfunc fastcall __attribute__((section(".spinlock.text")))
+#define __lockfunc fastcall __attribute__((section(".lock.text")))
int __lockfunc _spin_trylock(spinlock_t *lock);
int __lockfunc _write_trylock(rwlock_t *lock);
_
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-09-05 14:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-05 7:15 Correct ELF section used for out of line spinlocks Anton Blanchard
2004-09-05 14:06 ` Zwane Mwaikambo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®