X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fasm-nios%2Ftypes.h;h=636e12fd38e4de92f52c0eafe834ce115efe90e9;hb=61f2b38a17f5b21c59f2afe6cf1cbb5f28638cf9;hp=43fd8f6d2b1c4b7ab1dbc798d21a07d7ad0a05d5;hpb=4a5517094dd30bb1f271403b62e23053301668e6;p=u-boot diff --git a/include/asm-nios/types.h b/include/asm-nios/types.h index 43fd8f6d2b..636e12fd38 100644 --- a/include/asm-nios/types.h +++ b/include/asm-nios/types.h @@ -25,9 +25,9 @@ typedef unsigned short __u16; typedef __signed__ int __s32; typedef unsigned int __u32; -#if defined(__GNUC__) && !defined(__STRICT_ANSI__) -typedef __signed__ long long __s64; -typedef unsigned long long __u64; +#if defined(__GNUC__) +__extension__ typedef __signed__ long long __s64; +__extension__ typedef unsigned long long __u64; #endif /* @@ -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 /* _NIOS_TYPES_H */