diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-11-22 21:22:39 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-11-22 21:22:39 +0100 |
commit | 2ba509a6baac097cc8ae4f9741a09ba7c1c0d916 (patch) | |
tree | 08470935de327cb438cc9ec738b0e025c3c0b556 /arch/s390/include/asm/topology.h | |
parent | ALSA: emu10k1: Add missing ifdef for emu->suspend reference (diff) | |
parent | ALSA: snd-usb: properly initialize the sync endpoint (diff) | |
download | linux-2ba509a6baac097cc8ae4f9741a09ba7c1c0d916.tar.xz linux-2ba509a6baac097cc8ae4f9741a09ba7c1c0d916.zip |
Merge branch 'for-linus' into for-next
Diffstat (limited to 'arch/s390/include/asm/topology.h')
-rw-r--r-- | arch/s390/include/asm/topology.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/include/asm/topology.h b/arch/s390/include/asm/topology.h index 9ca305383760..9935cbd6a46f 100644 --- a/arch/s390/include/asm/topology.h +++ b/arch/s390/include/asm/topology.h @@ -8,6 +8,9 @@ struct cpu; #ifdef CONFIG_SCHED_BOOK +extern unsigned char cpu_socket_id[NR_CPUS]; +#define topology_physical_package_id(cpu) (cpu_socket_id[cpu]) + extern unsigned char cpu_core_id[NR_CPUS]; extern cpumask_t cpu_core_map[NR_CPUS]; |