git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6f3eef
)
xtensa: clean up udelay
author
Max Filippov
<jcmvbkbc@gmail.com>
Fri, 10 Jan 2014 08:02:18 +0000
(12:02 +0400)
committer
Max Filippov
<jcmvbkbc@gmail.com>
Tue, 14 Jan 2014 20:28:10 +0000
(
00:28
+0400)
Replace division with shift, use ccount_freq instead of loops_per_jiffy.
Introduce __MAX_UDELAY and (undefined) __bad_udelay, break build for too
big udelay constants.
Remove irrelevant comment, clean up code style.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/delay.h
patch
|
blob
|
history
diff --cc
arch/xtensa/include/asm/delay.h
Simple merge