]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: Use pause instruction when available.
authorDavid S. Miller <davem@davemloft.net>
Sun, 28 Oct 2012 06:00:41 +0000 (23:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Oct 2012 06:00:41 +0000 (23:00 -0700)
commit03db3606756433a639eff815029db2639c080e89
tree30f93cc20aa577ec5b12f609641fdf84d0bd5124
parent638d6f16731423250b71840787300b2d83726c64
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>
arch/sparc/include/asm/backoff.h
arch/sparc/include/asm/processor_64.h
arch/sparc/kernel/entry.h
arch/sparc/kernel/setup_64.c
arch/sparc/kernel/vmlinux.lds.S