]> git.baikalelectronics.ru Git - kernel.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>
Tue, 30 Aug 2011 07:22:54 +0000 (09:22 +0200)
commitf97ca095a97b1eccf3d6e7324f31f3d980a0d0c5
tree60a5d6ff3d90ecc82b9a1e034a955d0d8d29b351
parentd3fce04d00ed540d41d01114d1d7be4cf7c0a8a5
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