diff options
| author | Joe Perches <[email protected]> | 2014-04-03 14:49:11 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-04-03 16:21:12 -0700 |
| commit | 43c1d77c393205645cdd6337e657341a5216a7a8 (patch) | |
| tree | 32d46fe129f6be4b2a225e381617ab2e0ce082ed /tools/perf/scripts/python | |
| parent | af661e836039cbc2aadb3bccfd7d3ddfc1bcc456 (diff) | |
checkpatch: add test for long udelay
Holger reported:
: The macro udelay cannot handle large values because of loss-of-precision.
:
: IMHO udelay on ARM is broken, because it also cannot work with fast
: ARM processors (where bogomips >= 3355, which is in sight now). It's
: just not broken enough that someone did something against it ... so
: the current kludge is good enough.
Until then, warn on long udelay uses.
Also fix uses of $line that should have been $herecurr.
Signed-off-by: Joe Perches <[email protected]>
Reported-by: Holger Schurig <[email protected]>
Cc: Sujith Manoharan <[email protected]>
Cc: John Linville <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions