types.h 424 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
  4. */
  5. #ifndef __ASM_ARC_TYPES_H
  6. #define __ASM_ARC_TYPES_H
  7. #include <asm-generic/int-ll64.h>
  8. typedef unsigned short umode_t;
  9. #define BITS_PER_LONG 32
  10. /* Dma addresses are 32-bits wide. */
  11. typedef u32 dma_addr_t;
  12. typedef unsigned long phys_addr_t;
  13. typedef unsigned long phys_size_t;
  14. #endif /* __ASM_ARC_TYPES_H */