s390: lib: Export __delay
PATCH 1/1 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 <[email protected]>
Cc David Daney <[email protected]>
Signed-off-by Guenter Roeck <[email protected]>
--- arch/s390/lib/delay.c | 1 + 1 file changed, 1 insertion(+)
arch/s390/lib/delay.c +1 -0
@@ -26,6 +26,7 @@ void __delay(unsigned long loops)*/ asmvolatile ("0: brct %0,0b" : :"d" ((loops/2 ) +1 )); } +EXPORT_SYMBOL (__delay);static void __udelay_disabled (unsigned long long usecs) {
Signature · 1 line
2.1.4
Heiko Carstens
AppliedQuoted 6 lines · Guenter Roeck
__delayis exported by most architectures, and may be used in modules. Since it is not exported for s390, s390:allmodconfig currently fails to build withERROR: "
__delay" [drivers/net/phy/mdio-octeon.ko] undefined!
Quoted 8 lines
Fixes a6d678645210 ("net: mdio-octeon: Modify driver to work on bothThunderX and Octeon")
Cc Radha Mohan Chintakuntla <[email protected]>Cc David Daney <[email protected]>Signed-off-by Guenter Roeck <[email protected]>--- arch/s390/lib/delay.c | 1 + 1 file changed, 1 insertion(+)
Applied, thanks.