summaryrefslogtreecommitdiff
path: root/arch/parisc/kernel/processor.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-09-07 08:57:44 +0200
committerHelge Deller <deller@gmx.de>2023-09-07 09:12:20 +0200
commite5ef93d02d6c9cc3a14e7348481c9e41a528caa1 (patch)
tree9e430ddde2716e8fa74209848159604760a215e9 /arch/parisc/kernel/processor.c
parent3756597a684da9fbf966f91ed351033ac1a0f55f (diff)
downloadlwn-e5ef93d02d6c9cc3a14e7348481c9e41a528caa1.tar.gz
lwn-e5ef93d02d6c9cc3a14e7348481c9e41a528caa1.zip
parisc: BTLB: Initialize BTLB tables at CPU startup
Initialize the BTLB entries when starting up a CPU. Note that BTLBs are not available on 64-bit CPUs. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/processor.c')
-rw-r--r--arch/parisc/kernel/processor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/parisc/kernel/processor.c b/arch/parisc/kernel/processor.c
index a0e2d37c5b3b..1fc89fa2c2d2 100644
--- a/arch/parisc/kernel/processor.c
+++ b/arch/parisc/kernel/processor.c
@@ -368,6 +368,8 @@ int init_per_cpu(int cpunum)
/* FUTURE: Enable Performance Monitor : ccr bit 0x20 */
init_percpu_prof(cpunum);
+ btlb_init_per_cpu();
+
return ret;
}