From: David S. Miller Date: Thu, 8 Sep 2005 21:37:53 +0000 (-0700) Subject: [SPARC64]: Inline membar()'s again. X-Git-Tag: v2.6.14-rc1~492^2~21^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d803fcdcd97dd346d4b39c3b76e5879cead8a31;p=pandora-kernel.git [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 --- Reading git-diff-tree failed