diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-06-25 08:47:35 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-07-06 19:30:48 +1000 |
commit | 7e4d14b364956b6756b62fc5e6ae4b1487e1bc3c (patch) | |
tree | 822c2d8da19528bbb0ded69234cce0e4655b84dd /hdata/test | |
parent | fb43f202ddd86131acf14542c34fbcb9adab45f2 (diff) | |
download | skiboot-7e4d14b364956b6756b62fc5e6ae4b1487e1bc3c.zip skiboot-7e4d14b364956b6756b62fc5e6ae4b1487e1bc3c.tar.gz skiboot-7e4d14b364956b6756b62fc5e6ae4b1487e1bc3c.tar.bz2 |
Timebase quirk for slow simulators like AWAN and SIMICS
This will internally pretend the timebase is running 1000 times
slower, which reduces some otherwise really terrible delays in
some simulators.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Michael Neuling <mikey@neuling.org>
[stewart@linux.vnet.ibm.com: move cfam_chipid cleanup into own patch]
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/test')
-rw-r--r-- | hdata/test/hdata_to_dt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hdata/test/hdata_to_dt.c b/hdata/test/hdata_to_dt.c index 2ed683e..86fdf5c 100644 --- a/hdata/test/hdata_to_dt.c +++ b/hdata/test/hdata_to_dt.c @@ -46,6 +46,8 @@ static void *ntuple_addr(const struct spira_ntuple *n); #define __this_cpu ((struct cpu_thread *)NULL) #define zalloc(expr) calloc(1, (expr)) +unsigned long tb_hz = 512000000; + /* Don't include processor-specific stuff. */ #define __PROCESSOR_H #define PVR_TYPE(_pvr) _pvr |