diff options
author | David S. Miller <davem@davemloft.net> | 2012-10-28 06:00:41 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-28 06:00:41 (GMT) |
commit | e9b9eb59ffcdee09ec96b040f85c919618f4043e (patch) | |
tree | 30f93cc20aa577ec5b12f609641fdf84d0bd5124 /arch/sparc/kernel/power.c | |
parent | 270c10e00a1e557e068803a22e0556281ceb1830 (diff) | |
download | linux-e9b9eb59ffcdee09ec96b040f85c919618f4043e.tar.xz |
sparc64: Use pause instruction when available.
In atomic backoff and cpu_relax(), use the pause instruction
found on SPARC-T4 and later.
It makes the cpu strand unselectable for the given number of
cycles, unless an intervening disrupting trap occurs.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/power.c')
0 files changed, 0 insertions, 0 deletions