]> git.baikalelectronics.ru Git - kernel.git/commit
SPARC64: use generic percpu
authortravis@sgi.com <travis@sgi.com>
Wed, 30 Jan 2008 22:27:58 +0000 (23:27 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 22:27:58 +0000 (23:27 +0100)
commitf0dc5f9eca54aa5aaf5b22e83464206a38974ac8
tree0e41242b3d13f071f5aec29d2da074a1067efa59
parentdfcf09d136e2a5f91dc3bca29a5a99f2d32d63ff
SPARC64: use generic percpu

Sparc64 has a way of providing the base address for the per cpu area of the
currently executing processor in a global register.

Sparc64 also provides a way to calculate the address of a per cpu area
from a base address instead of performing an array lookup.

Cc: David Miller <davem@davemloft.net>
Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/sparc64/mm/init.c
include/asm-sparc64/percpu.h