]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "sh: add missing EXPORT_SYMBOL() for __delay"
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 8 Jun 2020 08:06:36 +0000 (10:06 +0200)
committerRich Felker <dalias@libc.org>
Sat, 15 Aug 2020 02:05:04 +0000 (22:05 -0400)
commit1dd2f6dba197d3160d6c11fbc03b2cee468a1e2e
treef89e170687a9fce2e2d243b2e3744f3e664ba278
parent24a9e919c456388ce42a6a0a753c4457d33d0fd2
Revert "sh: add missing EXPORT_SYMBOL() for __delay"

This reverts commit d9a43684ef2779ef64d8ce9fbae7fb28b086d880.

__delay() is an internal implementation detail on several architectures.
Drivers should not call __delay() directly, as it has non-standardized
semantics, or may not even exist.
Hence there is no need to export __delay() to modules.

See also include/asm-generic/delay.h:

    /* Undefined functions to get compile-time errors */
    ...
    extern void __delay(unsigned long loops);

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/lib/delay.c