Skip to content

Commit 438e923

Browse files
committed
parisc: ucmpdi2: Fix no previous prototype for '__ucmpdi2' warning
Signed-off-by: Helge Deller <deller@gmx.de>
1 parent eed869a commit 438e923

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

arch/parisc/lib/ucmpdi2.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0
22
#include <linux/module.h>
3+
#include <linux/libgcc.h>
34

45
union ull_union {
56
unsigned long long ull;
@@ -9,7 +10,7 @@ union ull_union {
910
} ui;
1011
};
1112

12-
int __ucmpdi2(unsigned long long a, unsigned long long b)
13+
word_type __ucmpdi2(unsigned long long a, unsigned long long b)
1314
{
1415
union ull_union au = {.ull = a};
1516
union ull_union bu = {.ull = b};

0 commit comments

Comments
 (0)