Commit 9aa10e79 authored by Heiko Carstens's avatar Heiko Carstens Committed by Vasily Gorbik

s390/delay: sync comment within __delay() with reality

The comment within __delay() is outdated and does not reflect anymore
what the function is doing. Therefore replace the comment.
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
parent 820109fb
...@@ -13,13 +13,10 @@ ...@@ -13,13 +13,10 @@
void __delay(unsigned long loops) void __delay(unsigned long loops)
{ {
/* /*
* To end the bloody studid and useless discussion about the * Loop 'loops' times. Callers must not assume a specific
* BogoMips number I took the liberty to define the __delay * amount of time passes before this function returns.
* function in a way that that resulting BogoMips number will */
* yield the megahertz number of the cpu. The important function
* is udelay and that is done using the tod clock. -- martin.
*/
asm volatile("0: brct %0,0b" : : "d" ((loops/2) + 1)); asm volatile("0: brct %0,0b" : : "d" ((loops/2) + 1));
} }
EXPORT_SYMBOL(__delay); EXPORT_SYMBOL(__delay);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment