projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eed869a
)
parisc: ucmpdi2: Fix no previous prototype for '__ucmpdi2' warning
author
Helge Deller
<deller@gmx.de>
Thu, 10 Aug 2023 16:31:47 +0000
(18:31 +0200)
committer
Helge Deller
<deller@gmx.de>
Thu, 10 Aug 2023 16:34:05 +0000
(18:34 +0200)
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/lib/ucmpdi2.c
patch
|
blob
|
history
diff --git
a/arch/parisc/lib/ucmpdi2.c
b/arch/parisc/lib/ucmpdi2.c
index
8e6014a
..
9d8b4db
100644
(file)
--- 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};