All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sh: add missing EXPORT_SYMBOL() for __delay
@ 2019-12-12  2:34 ` morimoto
  0 siblings, 0 replies; 24+ messages in thread
From: morimoto @ 2019-12-12  2:34 UTC (permalink / raw)
  To: Yoshinori Sato, Rich Felker, Andrew Morton; +Cc: linux-sh, linux-kernel


From: morimoto <kuninori.morimoto.gx@renesas.com>

__delay() is used from kernel module.
We need EXPORT_SYMBOL(), otherwise we will get compile error.

ERROR: "__delay" [drivers/net/phy/mdio-cavium.ko] undefined!

Signed-off-by: morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 arch/sh/lib/delay.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/sh/lib/delay.c b/arch/sh/lib/delay.c
index dad8e6a..540e670 100644
--- a/arch/sh/lib/delay.c
+++ b/arch/sh/lib/delay.c
@@ -29,6 +29,7 @@ void __delay(unsigned long loops)
 		: "0" (loops)
 		: "t");
 }
+EXPORT_SYMBOL(__delay);
 
 inline void __const_udelay(unsigned long xloops)
 {
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2020-08-03 10:01 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-12  2:34 [PATCH] sh: add missing EXPORT_SYMBOL() for __delay morimoto
2019-12-12  2:34 ` morimoto
2019-12-12  2:36 ` Kuninori Morimoto
2019-12-12  2:36   ` Kuninori Morimoto
2019-12-12  2:38 ` Kuninori Morimoto
2019-12-12  2:38   ` Kuninori Morimoto
2019-12-12  7:43   ` Geert Uytterhoeven
2019-12-12  7:43     ` Geert Uytterhoeven
2019-12-12 23:57     ` Kuninori Morimoto
2019-12-12 23:57       ` Kuninori Morimoto
2019-12-16 11:28   ` Yoshinori Sato
2019-12-16 11:28     ` Yoshinori Sato
2020-07-22  2:38   ` Guenter Roeck
2020-07-22  2:38     ` Guenter Roeck
2020-07-22 22:52     ` Rich Felker
2020-07-22 22:52       ` Rich Felker
2020-07-22 23:52       ` Guenter Roeck
2020-07-22 23:52         ` Guenter Roeck
2020-07-24 19:44         ` Rich Felker
2020-07-24 19:44           ` Rich Felker
2020-07-24 23:25           ` Andrew Morton
2020-07-24 23:25             ` Andrew Morton
2020-08-03 10:01         ` Geert Uytterhoeven
2020-08-03 10:01           ` Geert Uytterhoeven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.