ARM: PL08x: ensure loops use cpu_relax()
commit19386b3234fdbe4d33492574d83e63a8dace18d3
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Mon, 3 Jan 2011 22:36:29 +0000 (3 22:36 +0000)
committerDan Williams <dan.j.williams@intel.com>
Wed, 5 Jan 2011 03:16:11 +0000 (4 19:16 -0800)
tree0d362485f1dd6fc360f3b707ab2a97ff8b3f2d17
parent8c8cc2b1040f51a2f89724edbf976774128339eb
ARM: PL08x: ensure loops use cpu_relax()

Tight loops should use cpu_relax() to allow CPUs to reduce power
consumption while waiting for events.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/amba-pl08x.c