arch: types.h: factor out fixed width typedefs to int-ll64.h
[oweals/u-boot.git] / arch / arc / include / asm / types.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
4  */
5
6 #ifndef __ASM_ARC_TYPES_H
7 #define __ASM_ARC_TYPES_H
8
9 #include <asm-generic/int-ll64.h>
10
11 typedef unsigned short umode_t;
12
13 #define BITS_PER_LONG 32
14
15 /* Dma addresses are 32-bits wide. */
16
17 typedef u32 dma_addr_t;
18
19 typedef unsigned long phys_addr_t;
20 typedef unsigned long phys_size_t;
21
22 #endif /* __ASM_ARC_TYPES_H */