[MIPS] Replace old fashioned "__typeof" with "__typeof__".
authorRobert P. J. Day <rpjday@mindspring.com>
Tue, 10 Apr 2007 10:23:27 +0000 (06:23 -0400)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 27 Apr 2007 15:20:25 +0000 (16:20 +0100)
[Robert's original log message said this was a bug but it isn't, it's
just very old fashioned syntax that is not (no longer?) documented in the
gcc documentation.  So for the sake of uniformity I'm applying his
patch but with a modified log message. -- Ralf]

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/paccess.h

index 147844ef103be2ad76a08c5400081d761374fa48..8c08fa904b2ca6b31f5c444fd1a258c617337c36 100644 (file)
@@ -34,7 +34,7 @@ struct __large_pstruct { unsigned long buf[100]; };
 #define __get_dbe(x,ptr,size)                                          \
 ({                                                                     \
        long __gu_err;                                                  \
-       __typeof(*(ptr)) __gu_val;                                      \
+       __typeof__(*(ptr)) __gu_val;                                    \
        unsigned long __gu_addr;                                        \
        __asm__("":"=r" (__gu_val));                                    \
        __gu_addr = (unsigned long) (ptr);                              \