diff options
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/div64.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/asm-mips/div64.h b/include/asm-mips/div64.h index 716371bd0980..d1d699105c11 100644 --- a/include/asm-mips/div64.h +++ b/include/asm-mips/div64.h | |||
@@ -82,7 +82,6 @@ | |||
82 | (n) = __quot; \ | 82 | (n) = __quot; \ |
83 | __mod; }) | 83 | __mod; }) |
84 | 84 | ||
85 | extern uint64_t div64_64(uint64_t dividend, uint64_t divisor); | ||
86 | #endif /* (_MIPS_SZLONG == 32) */ | 85 | #endif /* (_MIPS_SZLONG == 32) */ |
87 | 86 | ||
88 | #if (_MIPS_SZLONG == 64) | 87 | #if (_MIPS_SZLONG == 64) |
@@ -106,11 +105,6 @@ extern uint64_t div64_64(uint64_t dividend, uint64_t divisor); | |||
106 | (n) = __quot; \ | 105 | (n) = __quot; \ |
107 | __mod; }) | 106 | __mod; }) |
108 | 107 | ||
109 | static inline uint64_t div64_64(uint64_t dividend, uint64_t divisor) | ||
110 | { | ||
111 | return dividend / divisor; | ||
112 | } | ||
113 | |||
114 | #endif /* (_MIPS_SZLONG == 64) */ | 108 | #endif /* (_MIPS_SZLONG == 64) */ |
115 | 109 | ||
116 | #endif /* _ASM_DIV64_H */ | 110 | #endif /* _ASM_DIV64_H */ |