summaryrefslogtreecommitdiff
path: root/arch/tile/include/asm/div64.h
blob: 9f765cdf09a52c8d82300b65409ea1b834429836 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _ASM_TILE_DIV64_H
#define _ASM_TILE_DIV64_H

#include <linux/types.h>

#ifdef __tilegx__
static inline u64 mul_u32_u32(u32 a, u32 b)
{
	return __insn_mul_lu_lu(a, b);
}
#define mul_u32_u32 mul_u32_u32
#endif

#include <asm-generic/div64.h>

#endif /* _ASM_TILE_DIV64_H */