summaryrefslogtreecommitdiff
path: root/arch/tile/include/asm/div64.h
blob: a0a798344d5f97b148156e13ccfc5cf9b1a57768 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0 */
#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 */