The patch titled Subject: sh: add missing EXPORT_SYMBOL() for __delay has been added to the -mm tree. Its filename is sh-add-missing-export_symbol-for-__delay.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/sh-add-missing-export_symbol-for-__delay.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/sh-add-missing-export_symbol-for-__delay.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: morimoto <kuninori.morimoto.gx@xxxxxxxxxxx> Subject: sh: add missing EXPORT_SYMBOL() for __delay __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! Link: https://marc.info/?l=linux-kernel&m=157611811927852 Signed-off-by: morimoto <kuninori.morimoto.gx@xxxxxxxxxxx> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx> Cc: Yoshinori Sato <ysato@xxxxxxxxxxxxxxxxxxxx> Cc: Rich Felker <dalias@xxxxxxxx> Cc: John Paul Adrian Glaubitz <glaubitz@xxxxxxxxxxxxxxxxxxx> Cc: Alan Modra <amodra@xxxxxxxxx> Cc: Bin Meng <bin.meng@xxxxxxxxxxxxx> Cc: Chen Zhou <chenzhou10@xxxxxxxxxx> Cc: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> Cc: Krzysztof Kozlowski <krzk@xxxxxxxxxx> Cc: Romain Naour <romain.naour@xxxxxxxxx> Cc: Sam Ravnborg <sam@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/sh/lib/delay.c | 1 + 1 file changed, 1 insertion(+) --- a/arch/sh/lib/delay.c~sh-add-missing-export_symbol-for-__delay +++ a/arch/sh/lib/delay.c @@ -41,6 +41,7 @@ inline void __const_udelay(unsigned long : "macl", "mach"); __delay(++xloops); } +EXPORT_SYMBOL(__delay); void __udelay(unsigned long usecs) { _ Patches currently in -mm which might be from kuninori.morimoto.gx@xxxxxxxxxxx are sh-clkfwk-remove-r8-r16-r32.patch sh-use-generic-strncpy.patch sh-convert-ins-outs-macros-to-inline-functions.patch sh-convert-iounmap-macros-to-inline-functions.patch sh-add-missing-export_symbol-for-__delay.patch