From: Heiko Carstens Date: Mon, 29 Aug 2022 12:17:28 +0000 (+0200) Subject: s390/delay: sync comment within __delay() with reality X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9aa10e791c2b722cf166f46424a6a8364164fe12;p=linux.git 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: Heiko Carstens Signed-off-by: Vasily Gorbik --- diff --git a/arch/s390/lib/delay.c b/arch/s390/lib/delay.c index f7f5adea8940f..be14c58cb9894 100644 --- a/arch/s390/lib/delay.c +++ b/arch/s390/lib/delay.c @@ -13,13 +13,10 @@ void __delay(unsigned long loops) { - /* - * To end the bloody studid and useless discussion about the - * BogoMips number I took the liberty to define the __delay - * 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. - */ + /* + * Loop 'loops' times. Callers must not assume a specific + * amount of time passes before this function returns. + */ asm volatile("0: brct %0,0b" : : "d" ((loops/2) + 1)); } EXPORT_SYMBOL(__delay);