From: Jean-Christophe PLAGNIOL-VILLARD Date: Sat, 2 Aug 2008 21:48:31 +0000 (+0200) Subject: nios2: fix phys_addr_t and phys_size_t support X-Git-Tag: v1.3.4~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=81d3f1fdddafd1eb53bbca8739f488d417eb3dd2;p=kernel%2Fu-boot.git nios2: fix phys_addr_t and phys_size_t support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- diff --git a/cpu/nios2/interrupts.c b/cpu/nios2/interrupts.c index aeb5b65..ec5db31 100644 --- a/cpu/nios2/interrupts.c +++ b/cpu/nios2/interrupts.c @@ -27,6 +27,7 @@ #include #include +#include #include #include #include diff --git a/include/asm-nios2/types.h b/include/asm-nios2/types.h index f13d8bd..ea859c0 100644 --- a/include/asm-nios2/types.h +++ b/include/asm-nios2/types.h @@ -52,6 +52,9 @@ typedef unsigned long long u64; /* Dma addresses are 32-bits wide. */ typedef u32 dma_addr_t; + +typedef unsigned long phys_addr_t; +typedef unsigned long phys_size_t; #endif /* __KERNEL__ */ #endif /* __ASM_NIOS2_TYPES_H */