[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1438757852-24298-1-git-send-email-linux@roeck-us.net>
Date: Tue, 4 Aug 2015 23:57:32 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Richard Henderson <rth@...ddle.net>
Cc: Ivan Kokshaysky <ink@...assic.park.msu.ru>,
Matt Turner <mattst88@...il.com>, linux-alpha@...r.kernel.org,
linux-kernel@...r.kernel.org, Guenter Roeck <linux@...ck-us.net>,
Radha Mohan Chintakuntla <rchintakuntla@...ium.com>,
David Daney <david.daney@...ium.com>
Subject: [PATCH -next] alpha: lib: Export __delay
__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@...ium.com>
Cc: David Daney <david.daney@...ium.com>
Signed-off-by: Guenter Roeck <linux@...ck-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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists