Skip to content

Commit

Permalink
[MIPS] Replace old fashioned "__typeof" with "__typeof__".
Browse files Browse the repository at this point in the history
[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 <[email protected]>
Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
Robert P. J. Day authored and ralfbaechle committed Apr 27, 2007
1 parent 05bc284 commit a4c9bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-mips/paccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -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); \
Expand Down

0 comments on commit a4c9bb7

Please sign in to comment.