* [PATCH -next] alpha: lib: Export __delay
@ 2015-08-05 6:57 Guenter Roeck
0 siblings, 0 replies; only message in thread
From: Guenter Roeck @ 2015-08-05 6:57 UTC (permalink / raw)
To: Richard Henderson
Cc: Ivan Kokshaysky, Matt Turner, linux-alpha, linux-kernel,
Guenter Roeck, Radha Mohan Chintakuntla, David Daney
__delay is exported by most architectures, and may be used in modules.
Since it is not exported for alpha, alpha builds currently fail
to build in -next with
ERROR: "__delay" [drivers/net/phy/mdio-octeon.ko] undefined!
if the offending driver is configured.
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>
---
arch/alpha/lib/udelay.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/alpha/lib/udelay.c b/arch/alpha/lib/udelay.c
index 69d52aa37bae..f2d81ff38aa6 100644
--- a/arch/alpha/lib/udelay.c
+++ b/arch/alpha/lib/udelay.c
@@ -30,6 +30,7 @@ __delay(int loops)
" bgt %0,1b"
: "=&r" (tmp), "=r" (loops) : "1"(loops));
}
+EXPORT_SYMBOL(__delay);
#ifdef CONFIG_SMP
#define LPJ cpu_data[smp_processor_id()].loops_per_jiffy
--
2.1.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-08-05 6:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-05 6:57 [PATCH -next] alpha: lib: Export __delay Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).