diff options
author | Helge Deller <deller@gmx.de> | 2022-03-27 15:03:53 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-03-29 21:37:13 +0200 |
commit | 1afde47d082c92c4fd3d9b322d944f8d87469834 (patch) | |
tree | 8e7cd0280a22b7dfdc7e1af3691106e9172109f9 /arch/parisc/include/asm/processor.h | |
parent | ca45ec3cb44aabe0933f9e10dba1b6946afb2a13 (diff) | |
download | linux-stable-1afde47d082c92c4fd3d9b322d944f8d87469834.tar.gz linux-stable-1afde47d082c92c4fd3d9b322d944f8d87469834.tar.bz2 linux-stable-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.h | 1 |
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) |