summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-08-10 18:31:47 +0200
committerHelge Deller <deller@gmx.de>2023-08-10 18:34:05 +0200
commit438e9230d60ed8771db5770c3c795f3272ef7aae (patch)
tree27536337efad454be1fedcd24dd9b70f024e39c5
parenteed869aaf1305444434ad5a9a56abc45aacc0c40 (diff)
parisc: ucmpdi2: Fix no previous prototype for '__ucmpdi2' warning
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r--arch/parisc/lib/ucmpdi2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/parisc/lib/ucmpdi2.c b/arch/parisc/lib/ucmpdi2.c
index 8e6014a142ef..9d8b4dbae273 100644
--- a/arch/parisc/lib/ucmpdi2.c
+++ b/arch/parisc/lib/ucmpdi2.c
@@ -1,5 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
#include <linux/module.h>
+#include <linux/libgcc.h>
union ull_union {
unsigned long long ull;
@@ -9,7 +10,7 @@ union ull_union {
} ui;
};
-int __ucmpdi2(unsigned long long a, unsigned long long b)
+word_type __ucmpdi2(unsigned long long a, unsigned long long b)
{
union ull_union au = {.ull = a};
union ull_union bu = {.ull = b};