diff options
Diffstat (limited to 'lib/umoddi3.c')
-rw-r--r-- | lib/umoddi3.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/lib/umoddi3.c b/lib/umoddi3.c deleted file mode 100644 index d7bbf0f85197..000000000000 --- a/lib/umoddi3.c +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
2 | |||
3 | /* | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation; either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program; if not, see the file COPYING, or write | ||
16 | * to the Free Software Foundation, Inc. | ||
17 | */ | ||
18 | |||
19 | #include <linux/module.h> | ||
20 | #include <linux/libgcc.h> | ||
21 | |||
22 | extern unsigned long long __udivmoddi4(unsigned long long u, | ||
23 | unsigned long long v, | ||
24 | unsigned long long *rp); | ||
25 | |||
26 | unsigned long long __umoddi3(unsigned long long u, unsigned long long v) | ||
27 | { | ||
28 | unsigned long long w; | ||
29 | (void)__udivmoddi4(u, v, &w); | ||
30 | return w; | ||
31 | } | ||
32 | EXPORT_SYMBOL(__umoddi3); | ||