summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2015-08-04 23:38:23 -0700
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-08-07 09:57:37 +0200
commit854508c0d0bbcf2f80fa1f79af5cb9ce219b2e9c (patch)
tree8af19bdcaba9b22610d5bd8ae7dad607033c3db0 /arch/s390
parentb2f4de8b843567504ee12b652b35819b60e25a86 (diff)
downloadlinux-854508c0d0bbcf2f80fa1f79af5cb9ce219b2e9c.tar.bz2
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.c1
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)
{