aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm/processor.h
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2022-03-27 15:03:53 +0200
committerHelge Deller <deller@gmx.de>2022-03-29 21:37:13 +0200
commit1afde47d082c92c4fd3d9b322d944f8d87469834 (patch)
tree8e7cd0280a22b7dfdc7e1af3691106e9172109f9 /arch/parisc/include/asm/processor.h
parentparisc: Move common_stext into .text section when CONFIG_HOTPLUG_CPU=y (diff)
downloadlinux-dev-1afde47d082c92c4fd3d9b322d944f8d87469834.tar.xz
linux-dev-1afde47d082c92c4fd3d9b322d944f8d87469834.zip
parisc: Find a new timesync master if current CPU is removed
When CPU hotplugging is enabled, the user may want to remove the current CPU which is providing the timer ticks. If this happens we need to find a new timesync master. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include/asm/processor.h')
-rw-r--r--arch/parisc/include/asm/processor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/processor.h b/arch/parisc/include/asm/processor.h
index 006364212795..4621ceb51314 100644
--- a/arch/parisc/include/asm/processor.h
+++ b/arch/parisc/include/asm/processor.h
@@ -95,6 +95,7 @@ struct cpuinfo_parisc {
extern struct system_cpuinfo_parisc boot_cpu_data;
DECLARE_PER_CPU(struct cpuinfo_parisc, cpu_data);
+extern int time_keeper_id; /* CPU used for timekeeping */
#define CPU_HVERSION ((boot_cpu_data.hversion >> 4) & 0x0FFF)