summaryrefslogtreecommitdiffstats
path: root/arch/sh/lib/delay.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2020-06-08 10:06:36 +0200
committerRich Felker <dalias@libc.org>2020-08-15 04:05:04 +0200
commit7619f957dc8cb8b2db3be21254d758c16e025961 (patch)
treef89e170687a9fce2e2d243b2e3744f3e664ba278 /arch/sh/lib/delay.c
parentsh: Implement __get_user_u64() required for 64-bit get_user() (diff)
downloadlinux-7619f957dc8cb8b2db3be21254d758c16e025961.tar.xz
linux-7619f957dc8cb8b2db3be21254d758c16e025961.zip
Revert "sh: add missing EXPORT_SYMBOL() for __delay"
This reverts commit d1f56f318d234fc5db230af2f3e0088f689ab3c0. __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>
Diffstat (limited to '')
-rw-r--r--arch/sh/lib/delay.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sh/lib/delay.c b/arch/sh/lib/delay.c
index 540e670dbafc..dad8e6a54906 100644
--- a/arch/sh/lib/delay.c
+++ b/arch/sh/lib/delay.c
@@ -29,7 +29,6 @@ void __delay(unsigned long loops)
: "0" (loops)
: "t");
}
-EXPORT_SYMBOL(__delay);
inline void __const_udelay(unsigned long xloops)
{