ARM: 7089/1: L2X0: add explicit cpu_relax() for busy wait loop
authorBarry Song <21cnbao@gmail.com>
Fri, 9 Sep 2011 09:30:34 +0000 (10:30 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 17 Oct 2011 08:11:36 +0000 (09:11 +0100)
commit1caf30924f71ae16a26aa59b02a6401f467bf1c8
tree35fe16a1ed060632db361f5444285aad24bbaed3
parent8c369264b6de3b2ab796f330a4d85770a6b8b033
ARM: 7089/1: L2X0: add explicit cpu_relax() for busy wait loop

using cpu_relax in busy loops is a well-known idiom in the kernel.
It's more for documentation purposes than technically needed here.

Signed-off-by: Barry Song <Baohua.Song@csr.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/cache-l2x0.c