summaryrefslogtreecommitdiffstats
path: root/arch/parisc/include
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
parentca45ec3cb44aabe0933f9e10dba1b6946afb2a13 (diff)
downloadlinux-1afde47d082c92c4fd3d9b322d944f8d87469834.tar.bz2
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')
-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)