diff options
author | 2015-08-04 23:38:23 -0700 | |
---|---|---|
committer | 2015-08-07 09:57:37 +0200 | |
commit | 854508c0d0bbcf2f80fa1f79af5cb9ce219b2e9c (patch) | |
tree | 8af19bdcaba9b22610d5bd8ae7dad607033c3db0 /arch/s390 | |
parent | s390: remove unneeded variables (diff) | |
download | linux-854508c0d0bbcf2f80fa1f79af5cb9ce219b2e9c.tar.gz linux-854508c0d0bbcf2f80fa1f79af5cb9ce219b2e9c.tar.bz2 linux-854508c0d0bbcf2f80fa1f79af5cb9ce219b2e9c.zip |
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 <rchintakuntla@cavium.com>
Cc: David Daney <david.daney@cavium.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/lib/delay.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |