summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/smp.h
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2022-05-16 10:22:31 +0100
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2023-10-12 10:52:23 +0100
commita31efdf4d28d3b254eedbfa7fe9e018b1bdf30f0 (patch)
treee07c39a0c14f0cdb6ca0d717ed3430498052218a /arch/arm64/include/asm/smp.h
parentba147dd4be10c9d8994a7378be7e2fdea61f6834 (diff)
arm64: text replication: boot secondary CPUs with appropriate TTBR1
Arrange for secondary CPUs to boot with TTBR1 pointing at the appropriate per-node copy of the kernel page tables for the CPUs NUMA node. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm64/include/asm/smp.h')
-rw-r--r--arch/arm64/include/asm/smp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/smp.h b/arch/arm64/include/asm/smp.h
index 9b31e6d0da17..9635e473969b 100644
--- a/arch/arm64/include/asm/smp.h
+++ b/arch/arm64/include/asm/smp.h
@@ -79,6 +79,7 @@ asmlinkage void secondary_start_kernel(void);
struct secondary_data {
struct task_struct *task;
long status;
+ phys_addr_t ttbr1;
};
extern struct secondary_data secondary_data;