]> git.baikalelectronics.ru Git - kernel.git/commit
m68k: Implement ndelay() based on the existing udelay() logic
authorMichael Schmitz <schmitzmic@gmail.com>
Sat, 6 Apr 2013 00:26:44 +0000 (13:26 +1300)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 16 Apr 2013 19:35:40 +0000 (21:35 +0200)
commita4b61c7275ae49e1f8293323ec9be9ee4a96cd76
treeadd757c501d711d1d0a8f896110a219d6137c83d
parentae6b0389ddc58770fe527a3bff167a8b65eefb70
m68k: Implement ndelay() based on the existing udelay() logic

Add a ndelay macro modeled after the Coldfire udelay(). The ISP1160
driver needs a 150ns delay, so we need to have ndelay().

Signed-off-by: Michael Schmitz <schmitz@debian.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/delay.h