diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2022-09-15 13:11:05 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-10-17 16:41:05 +0200 |
commit | d7b6d709a76a4f4ef3108ac41e1b39eb80f5c084 (patch) | |
tree | 2687f3d932a493f83edd908dc5e20127c3a43237 /arch/x86/kernel/process_64.c | |
parent | c063a217bc0726c2560138229de5673dbb253a02 (diff) | |
download | lwn-d7b6d709a76a4f4ef3108ac41e1b39eb80f5c084.tar.gz lwn-d7b6d709a76a4f4ef3108ac41e1b39eb80f5c084.zip |
x86/percpu: Move irq_stack variables next to current_task
Further extend struct pcpu_hot with the hard and soft irq stack
pointers.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220915111145.599170752@infradead.org
Diffstat (limited to 'arch/x86/kernel/process_64.c')
-rw-r--r-- | arch/x86/kernel/process_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index 7f807e8bc923..1312de5b76aa 100644 --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c @@ -563,7 +563,7 @@ __switch_to(struct task_struct *prev_p, struct task_struct *next_p) int cpu = smp_processor_id(); WARN_ON_ONCE(IS_ENABLED(CONFIG_DEBUG_ENTRY) && - this_cpu_read(hardirq_stack_inuse)); + this_cpu_read(pcpu_hot.hardirq_stack_inuse)); if (!test_thread_flag(TIF_NEED_FPU_LOAD)) switch_fpu_prepare(prev_fpu, cpu); |