Nicolas Pitre 365bf8ac6f [ARM] 3311/1: clean up include/asm-arm/mutex.h
Patch from Nicolas Pitre

Since:

	if (unlikely(__res || __ex_flag))

produces worse code on ARM than:

	if (unlikely(__res | __ex_flag))

I therefore made it more explicit:

	__res |= __ex_flag;
	if (unlikely(__res != 0))

so it is not seen as a typo again.

Also made everything static inline rather than macros for better readability
(both produce the same code after all).

And finally added missing \t from multi-line assembly code.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2006-02-08 21:19:38 +00:00
..
2006-01-03 17:39:34 +00:00
2005-09-07 16:57:21 -07:00
2006-01-03 13:11:06 -08:00
2006-01-08 20:13:39 -08:00
2006-01-03 17:39:34 +00:00
2005-11-02 21:51:40 +00:00
2005-10-28 08:16:47 -07:00
2006-01-08 20:13:39 -08:00
2006-01-09 19:23:11 +00:00
2006-01-10 08:01:34 -08:00
2006-01-08 20:13:46 -08:00
2005-10-18 07:51:34 +01:00
2005-07-07 16:50:16 +02:00
2005-09-08 14:57:25 -07:00
2005-12-01 20:58:01 +00:00
2005-09-26 15:30:20 +01:00
2006-01-12 09:08:55 -08:00
2005-10-29 21:40:37 -07:00
2005-09-05 00:05:48 -07:00