diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-31 18:34:22 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-31 18:34:22 +0200 |
commit | 6679ce6e5f519096612b480d255d9ca97be0c2be (patch) | |
tree | cce6814d3e7c62adf59e565fb6ae95fd409f86ab /include/asm-powerpc/smp.h | |
parent | 2c3d103ba90827cfb478bf10464d9b5b9cea369c (diff) | |
parent | 6e86841d05f371b5b9b86ce76c02aaee83352298 (diff) | |
download | kernel-crypto-6679ce6e5f519096612b480d255d9ca97be0c2be.tar.gz kernel-crypto-6679ce6e5f519096612b480d255d9ca97be0c2be.tar.xz kernel-crypto-6679ce6e5f519096612b480d255d9ca97be0c2be.zip |
Merge branch 'linus' into sched/urgent
Diffstat (limited to 'include/asm-powerpc/smp.h')
-rw-r--r-- | include/asm-powerpc/smp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/smp.h b/include/asm-powerpc/smp.h index 416d4c288ce..4d28e1e4521 100644 --- a/include/asm-powerpc/smp.h +++ b/include/asm-powerpc/smp.h @@ -62,6 +62,8 @@ extern int smp_hw_index[]; #endif DECLARE_PER_CPU(cpumask_t, cpu_sibling_map); +DECLARE_PER_CPU(cpumask_t, cpu_core_map); +extern int cpu_to_core_id(int cpu); /* Since OpenPIC has only 4 IPIs, we use slightly different message numbers. * |