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 11typedef unsigned short umode_t; 12 13#define BITS_PER_LONG 32 14 15/* Dma addresses are 32-bits wide. */ 16 17typedef u32 dma_addr_t; 18 19typedef unsigned long phys_addr_t; 20typedef unsigned long phys_size_t; 21 22#endif /* __ASM_ARC_TYPES_H */ 23