percpu: move arch XX_PER_CPU_XX definitions into linux/percpu.h
authortravis@sgi.com <travis@sgi.com>
Wed, 30 Jan 2008 12:32:52 +0000 (13:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:32:52 +0000 (13:32 +0100)
commit5280e004fc22314122c84978c0b6a741cf96dc0f
tree008b96d81a924be764629f62f98fa5f7c9e04773
parentb32ef636a59aad12f9f9b5dc34c93222842c58ba
percpu: move arch XX_PER_CPU_XX definitions into linux/percpu.h

- Special consideration for IA64: Add the ability to specify
  arch specific per cpu flags

- remove .data.percpu attribute from DEFINE_PER_CPU for non-smp case.

The arch definitions are all the same. So move them into linux/percpu.h.

We cannot move DECLARE_PER_CPU since some include files just include
asm/percpu.h to avoid include recursion problems.

Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-generic/percpu.h
include/asm-ia64/percpu.h
include/asm-powerpc/percpu.h
include/asm-s390/percpu.h
include/asm-sparc64/percpu.h
include/asm-x86/percpu_32.h
include/asm-x86/percpu_64.h
include/linux/percpu.h