aboutsummaryrefslogtreecommitdiff
path: root/arch/metag/include/asm/div64.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/metag/include/asm/div64.h')
-rw-r--r--arch/metag/include/asm/div64.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/metag/include/asm/div64.h b/arch/metag/include/asm/div64.h
new file mode 100644
index 00000000000..0fdd1167621
--- /dev/null
+++ b/arch/metag/include/asm/div64.h
@@ -0,0 +1,12 @@
+#ifndef __ASM_DIV64_H__
+#define __ASM_DIV64_H__
+
+#include <asm-generic/div64.h>
+
+extern u64 div_u64(u64 dividend, u64 divisor);
+extern s64 div_s64(s64 dividend, s64 divisor);
+
+#define div_u64 div_u64
+#define div_s64 div_s64
+
+#endif