David S. Miller 4d803fcdcd [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>
2005-09-08 14:37:53 -07:00
..
2005-09-07 16:57:34 -07:00
2005-09-07 16:57:34 -07:00
2005-09-07 16:57:34 -07:00
2005-09-08 01:45:47 -04:00
2005-09-08 01:45:47 -04:00
2005-09-07 16:57:34 -07:00
2005-09-07 16:57:34 -07:00
2005-09-07 16:57:34 -07:00
2005-09-07 16:57:34 -07:00
2005-09-07 16:57:34 -07:00