summaryrefslogtreecommitdiffstats
path: root/arch/parisc/lib/libgcc/__udivsi3.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/parisc/lib/libgcc/__udivsi3.c')
-rw-r--r--arch/parisc/lib/libgcc/__udivsi3.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/parisc/lib/libgcc/__udivsi3.c b/arch/parisc/lib/libgcc/__udivsi3.c
new file mode 100644
index 000000000000..756a44164e90
--- /dev/null
+++ b/arch/parisc/lib/libgcc/__udivsi3.c
@@ -0,0 +1,7 @@
+#include "libgcc.h"
+
+u32 __udivsi3(u32 num, u32 den)
+{
+ return __udivmodsi4(num, den, NULL);
+}
+EXPORT_SYMBOL(__udivsi3);
OpenPOWER on IntegriCloud