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)
commitc8ee038bd14881e3ceac1cafa551f260fd0acd29
treeadd757c501d711d1d0a8f896110a219d6137c83d
parente6f80e87e05cc47188a141f68e9859ed438b4489
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