aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/setup.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2017-09-21 21:55:01 +0200
committerHelge Deller <deller@gmx.de>2017-11-17 15:27:22 +0100
commitbf7b4c1b3c92f246a535a7c792177041d0442011 (patch)
tree1bd779b15d0c77656f99b79a1e8950910daf43cf /arch/parisc/kernel/setup.c
parentparisc: Fix validity check of pointer size argument in new CAS implementation (diff)
downloadlinux-dev-bf7b4c1b3c92f246a535a7c792177041d0442011.tar.xz
linux-dev-bf7b4c1b3c92f246a535a7c792177041d0442011.zip
parisc: Add CPU topology support
Add topology support, including multi-core scheduler support on PA8800/PA8900 CPUs and enhanced output in /proc/cpuinfo, e.g. lscpu now reports on a single-socket, dual-core machine: Architecture: parisc64 CPU(s): 2 On-line CPU(s) list: 0,1 Thread(s) per core: 1 Core(s) per socket: 2 Socket(s): 1 CPU family: PA-RISC 2.0 Model name: PA8800 (Mako) Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/setup.c')
-rw-r--r--arch/parisc/kernel/setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/parisc/kernel/setup.c b/arch/parisc/kernel/setup.c
index f7d0c3b33d70..0e9675f857a5 100644
--- a/arch/parisc/kernel/setup.c
+++ b/arch/parisc/kernel/setup.c
@@ -408,6 +408,8 @@ void __init start_parisc(void)
cpunum = smp_processor_id();
+ init_cpu_topology();
+
set_firmware_width_unlocked();
ret = pdc_coproc_cfg_unlocked(&coproc_cfg);