diff options
author | David S. Miller <davem@davemloft.net> | 2005-09-08 17:37:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-09-08 17:37:53 -0400 |
commit | 4d803fcdcd97dd346d4b39c3b76e5879cead8a31 (patch) | |
tree | f30c8caa998261fc0983121021184f0f6cc555b4 /arch/sparc64/kernel/sparc64_ksyms.c | |
parent | 1b11d78cf87a7014f96e5b7fa2e1233cc8081a00 (diff) |
[SPARC64]: Inline membar()'s again.
Since GCC has to emit a call and a delay slot to the
out-of-line "membar" routines in arch/sparc64/lib/mb.S
it is much better to just do the necessary predicted
branch inline instead as:
ba,pt %xcc, 1f
membar #whatever
1:
instead of the current:
call membar_foo
dslot
because this way GCC is not required to allocate a stack
frame if the function can be a leaf function.
This also makes this bug fix easier to backport to 2.4.x
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/sparc64_ksyms.c')
-rw-r--r-- | arch/sparc64/kernel/sparc64_ksyms.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/sparc64/kernel/sparc64_ksyms.c b/arch/sparc64/kernel/sparc64_ksyms.c index d89fc24808d3..7d9a0f6c437d 100644 --- a/arch/sparc64/kernel/sparc64_ksyms.c +++ b/arch/sparc64/kernel/sparc64_ksyms.c | |||
@@ -403,12 +403,3 @@ EXPORT_SYMBOL(xor_vis_4); | |||
403 | EXPORT_SYMBOL(xor_vis_5); | 403 | EXPORT_SYMBOL(xor_vis_5); |
404 | 404 | ||
405 | EXPORT_SYMBOL(prom_palette); | 405 | EXPORT_SYMBOL(prom_palette); |
406 | |||
407 | /* memory barriers */ | ||
408 | EXPORT_SYMBOL(mb); | ||
409 | EXPORT_SYMBOL(rmb); | ||
410 | EXPORT_SYMBOL(wmb); | ||
411 | EXPORT_SYMBOL(membar_storeload); | ||
412 | EXPORT_SYMBOL(membar_storeload_storestore); | ||
413 | EXPORT_SYMBOL(membar_storeload_loadload); | ||
414 | EXPORT_SYMBOL(membar_storestore_loadstore); | ||