diff options
| author | Mischa Jonker <mjonker@synopsys.com> | 2013-08-30 11:56:25 +0200 |
|---|---|---|
| committer | Vineet Gupta <vgupta@synopsys.com> | 2013-09-05 10:31:12 +0530 |
| commit | 7efd0da2d17360e1cef91507dbe619db0ee2c691 (patch) | |
| tree | 368a10f49fae6386d201154b6a628cf7b4c01e67 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | ARC: remove console_verbose() from setup_arch() (diff) | |
| download | linux-7efd0da2d17360e1cef91507dbe619db0ee2c691.tar.gz linux-7efd0da2d17360e1cef91507dbe619db0ee2c691.zip | |
ARC: Fix __udelay calculation
Cast usecs to u64, to ensure that the (usecs * 4295 * HZ)
multiplication is 64 bit.
Initially, the (usecs * 4295 * HZ) part was done as a 32 bit
multiplication, with the result casted to 64 bit. This led to some bits
falling off, causing a "DMA initialization error" in the stmmac Ethernet
driver, due to a premature timeout.
Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
