diff options
| author | Andi Kleen <ak@suse.de> | 2005-05-20 17:27:59 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-20 18:48:21 -0400 |
| commit | 2df9fa36643f03b0462b170515c1e221c3709fa9 (patch) | |
| tree | 3b4bc0fff308e72050ee02082e2e70745e57b871 | |
| parent | 14d98cad82b78956957e95567b8b5fb38ec5859f (diff) | |
[PATCH] x86_64: i386/x86-64: Export cpu_core_map
Needed for the powernow k8 driver for dual core support.
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: <mark.langsdorf@amd.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| -rw-r--r-- | arch/i386/kernel/smpboot.c | 1 | ||||
| -rw-r--r-- | arch/x86_64/kernel/smpboot.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/kernel/smpboot.c b/arch/i386/kernel/smpboot.c index cbea7ac582e5..35bfe138cb1a 100644 --- a/arch/i386/kernel/smpboot.c +++ b/arch/i386/kernel/smpboot.c | |||
| @@ -888,6 +888,7 @@ void *xquad_portio; | |||
| 888 | 888 | ||
| 889 | cpumask_t cpu_sibling_map[NR_CPUS] __cacheline_aligned; | 889 | cpumask_t cpu_sibling_map[NR_CPUS] __cacheline_aligned; |
| 890 | cpumask_t cpu_core_map[NR_CPUS] __cacheline_aligned; | 890 | cpumask_t cpu_core_map[NR_CPUS] __cacheline_aligned; |
| 891 | EXPORT_SYMBOL(cpu_core_map); | ||
| 891 | 892 | ||
| 892 | static void __init smp_boot_cpus(unsigned int max_cpus) | 893 | static void __init smp_boot_cpus(unsigned int max_cpus) |
| 893 | { | 894 | { |
diff --git a/arch/x86_64/kernel/smpboot.c b/arch/x86_64/kernel/smpboot.c index 5abdee1e16a5..f1ec0f345941 100644 --- a/arch/x86_64/kernel/smpboot.c +++ b/arch/x86_64/kernel/smpboot.c | |||
| @@ -94,6 +94,7 @@ int smp_threads_ready; | |||
| 94 | 94 | ||
| 95 | cpumask_t cpu_sibling_map[NR_CPUS] __cacheline_aligned; | 95 | cpumask_t cpu_sibling_map[NR_CPUS] __cacheline_aligned; |
| 96 | cpumask_t cpu_core_map[NR_CPUS] __cacheline_aligned; | 96 | cpumask_t cpu_core_map[NR_CPUS] __cacheline_aligned; |
| 97 | EXPORT_SYMBOL(cpu_core_map); | ||
| 97 | 98 | ||
| 98 | /* | 99 | /* |
| 99 | * Trampoline 80x86 program as an array. | 100 | * Trampoline 80x86 program as an array. |
