GNU Linux-libre 4.14.257-gnu1
[releases.git] / arch / tile / include / asm / div64.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_TILE_DIV64_H
3 #define _ASM_TILE_DIV64_H
4
5 #include <linux/types.h>
6
7 #ifdef __tilegx__
8 static inline u64 mul_u32_u32(u32 a, u32 b)
9 {
10         return __insn_mul_lu_lu(a, b);
11 }
12 #define mul_u32_u32 mul_u32_u32
13 #endif
14
15 #include <asm-generic/div64.h>
16
17 #endif /* _ASM_TILE_DIV64_H */