div64.h 319 字节
Newer Older
1
/* SPDX-License-Identifier: GPL-2.0 */
2 3 4
#ifndef _ASM_TILE_DIV64_H
#define _ASM_TILE_DIV64_H

5 6
#include <linux/types.h>

7 8 9 10 11 12 13 14 15 16 17
#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 */