summaryrefslogtreecommitdiffstats
path: root/arch/riscv/include/asm/types.h
blob: 1ad5904f9178715d9f82dcc0a8c63eae3ea2a8e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __ASM_RISCV_TYPES_H
#define __ASM_RISCV_TYPES_H

#include <asm-generic/int-ll64.h>

#if __riscv_xlen == 64
/*
 * This is used in dlmalloc. On RISCV64 we need it to be 64 bit
 */
#define INTERNAL_SIZE_T unsigned long

#endif

#endif /* __ASM_RISCV_TYPES_H */