]> err.no Git - linux-2.6/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)
commit3afc620229ccc8214ef96fd0e7db26d79f788167
tree0e41242b3d13f071f5aec29d2da074a1067efa59
parent988c388ad48f790253850e369dd3e6fdf44ef603
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