]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Thu, 22 Sep 2011 18:23:38 +0000 (19:23 +0100)
commit1a2c233cbb9b0d470ac3b9f080f98a9993884cb5
tree99da210e136eb36744871346bfe2281f3a516f9c
parentf2f9581eeeb42bd886ed9f65aefc91f49e50a2fe
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