summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/chip.h1
-rw-r--r--include/timebase.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/chip.h b/include/chip.h
index 0038814d..45413685 100644
--- a/include/chip.h
+++ b/include/chip.h
@@ -127,6 +127,7 @@ enum proc_chip_quirks {
QUIRK_NO_PBA = 0x00000008,
QUIRK_NO_OCC_IRQ = 0x00000010,
QUIRK_SIMICS = 0x00000020,
+ QUIRK_SLOW_SIM = 0x00000040,
} proc_chip_quirks;
static inline bool chip_quirk(unsigned int q)
diff --git a/include/timebase.h b/include/timebase.h
index 7f5afe15..7fc47489 100644
--- a/include/timebase.h
+++ b/include/timebase.h
@@ -52,7 +52,7 @@ static inline enum tb_cmpval tb_compare(unsigned long a,
}
/* Architected timebase */
-static const unsigned long tb_hz = 512000000;
+extern unsigned long tb_hz;
static inline unsigned long secs_to_tb(unsigned long secs)
{
OpenPOWER on IntegriCloud