summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-08-10 18:32:24 +0200
committerHelge Deller <deller@gmx.de>2023-08-10 18:34:05 +0200
commit388d5bdba3fd791f734cc6687309fe59fb3343bb (patch)
tree25edd68122701c11a2f624b2d15f1ce5f83764d4 /arch
parentparisc: ucmpdi2: Fix no previous prototype for '__ucmpdi2' warning (diff)
downloadlinux-388d5bdba3fd791f734cc6687309fe59fb3343bb.tar.xz
linux-388d5bdba3fd791f734cc6687309fe59fb3343bb.zip
parisc: parisc_ksyms: Include libgcc.h for libgcc prototypes
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/parisc/kernel/parisc_ksyms.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/parisc/kernel/parisc_ksyms.c b/arch/parisc/kernel/parisc_ksyms.c
index 00297e8e1c88..6f0c92e8149d 100644
--- a/arch/parisc/kernel/parisc_ksyms.c
+++ b/arch/parisc/kernel/parisc_ksyms.c
@@ -14,6 +14,7 @@
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/syscalls.h>
+#include <linux/libgcc.h>
#include <linux/string.h>
EXPORT_SYMBOL(memset);
@@ -92,12 +93,6 @@ EXPORT_SYMBOL($$divI_12);
EXPORT_SYMBOL($$divI_14);
EXPORT_SYMBOL($$divI_15);
-extern void __ashrdi3(void);
-extern void __ashldi3(void);
-extern void __lshrdi3(void);
-extern void __muldi3(void);
-extern void __ucmpdi2(void);
-
EXPORT_SYMBOL(__ashrdi3);
EXPORT_SYMBOL(__ashldi3);
EXPORT_SYMBOL(__lshrdi3);