From: Guenter Roeck Date: Wed, 5 Aug 2015 06:38:23 +0000 (-0700) Subject: s390/lib: export __delay X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=854508c0d0bbcf2f80fa1f79af5cb9ce219b2e9c;p=linux-beck.git s390/lib: export __delay __delay is exported by most architectures, and may be used in modules. Since it is not exported for s390, s390:allmodconfig currently fails to build with ERROR: "__delay" [drivers/net/phy/mdio-octeon.ko] undefined! Fixes: a6d678645210 ("net: mdio-octeon: Modify driver to work on both ThunderX and Octeon") Cc: Radha Mohan Chintakuntla Cc: David Daney Signed-off-by: Guenter Roeck Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/lib/delay.c b/arch/s390/lib/delay.c index 16dc42d83f93..246a7eb4b680 100644 --- a/arch/s390/lib/delay.c +++ b/arch/s390/lib/delay.c @@ -26,6 +26,7 @@ void __delay(unsigned long loops) */ asm volatile("0: brct %0,0b" : : "d" ((loops/2) + 1)); } +EXPORT_SYMBOL(__delay); static void __udelay_disabled(unsigned long long usecs) {