summaryrefslogtreecommitdiffstats
path: root/arch/sh/lib/udivdi3.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/lib/udivdi3.c')
-rw-r--r--arch/sh/lib/udivdi3.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/sh/lib/udivdi3.c b/arch/sh/lib/udivdi3.c
deleted file mode 100644
index 68f038bf3c50..000000000000
--- a/arch/sh/lib/udivdi3.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * Simple __udivdi3 function which doesn't use FPU.
- */
-
-#include <linux/types.h>
-
-extern u64 __xdiv64_32(u64 n, u32 d);
-extern void panic(const char * fmt, ...);
-
-u64 __udivdi3(u64 n, u64 d)
-{
- if (d & ~0xffffffff)
- panic("Need true 64-bit/64-bit division");
- return __xdiv64_32(n, (u32)d);
-}
-