diff options
author | Helge Deller <deller@gmx.de> | 2018-01-12 22:44:00 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2018-03-02 10:04:59 +0100 |
commit | 5ffa8518851f1401817c15d2a7eecc0373c26ff9 (patch) | |
tree | 5b3a2783b111de3a4c69eaa8a57a463db14dfcee /arch/parisc/include/asm/processor.h | |
parent | 0ed1fe4ad394e54783bbffa84102faf435661a2e (diff) | |
download | linux-stable-5ffa8518851f1401817c15d2a7eecc0373c26ff9.tar.gz linux-stable-5ffa8518851f1401817c15d2a7eecc0373c26ff9.tar.bz2 linux-stable-5ffa8518851f1401817c15d2a7eecc0373c26ff9.zip |
parisc: Use cr16 interval timers unconditionally on qemu
When running on qemu we know that the (emulated) cr16 cpu-internal
clocks are syncronized. So let's use them unconditionally on qemu.
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org # 4.14+
Diffstat (limited to 'arch/parisc/include/asm/processor.h')
-rw-r--r-- | arch/parisc/include/asm/processor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/processor.h b/arch/parisc/include/asm/processor.h index 0e6ab6e4a4e9..2dbe5580a1a4 100644 --- a/arch/parisc/include/asm/processor.h +++ b/arch/parisc/include/asm/processor.h @@ -316,6 +316,8 @@ extern int _parisc_requires_coherency; #define parisc_requires_coherency() (0) #endif +extern int running_on_qemu; + #endif /* __ASSEMBLY__ */ #endif /* __ASM_PARISC_PROCESSOR_H */ |