]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
9e3d6223 PZ |
2 | #ifndef _ASM_TILE_DIV64_H |
3 | #define _ASM_TILE_DIV64_H | |
4 | ||
dba9a0ba SM |
5 | #include <linux/types.h> |
6 | ||
9e3d6223 PZ |
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 */ |