]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: mach-ux500: add explicit cpu_relax() for busy wait loop
authorBarry Song <Baohua.Song@csr.com>
Wed, 24 Aug 2011 01:31:26 +0000 (18:31 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 25 Aug 2011 11:20:58 +0000 (13:20 +0200)
commit791d481ee4a6591c084627daa798570865fe2029
tree88dbd43879f5ee7417c09d80551215b21e57052f
parent322a8b034003c0d46d39af85bf24fee27b902f48
ARM: mach-ux500: 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.

Cc: Jamie Iles <jamie@jamieiles.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/cpu.c