diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-03-04 20:36:51 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 20:30:53 +0200 |
commit | 77c728c2240a1eb45f7d355f5d87ecc319cd55ce (patch) | |
tree | 5e8abf2eceba4beaaca4aefa875be96aecb649b4 /include/asm-mips/paccess.h | |
parent | Use new txx9 serial driver. (diff) | |
download | linux-77c728c2240a1eb45f7d355f5d87ecc319cd55ce.tar.xz linux-77c728c2240a1eb45f7d355f5d87ecc319cd55ce.zip |
Gcc 4.0 fixes.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/paccess.h')
-rw-r--r-- | include/asm-mips/paccess.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-mips/paccess.h b/include/asm-mips/paccess.h index 309bc3099f68..46f2d23d2697 100644 --- a/include/asm-mips/paccess.h +++ b/include/asm-mips/paccess.h @@ -52,7 +52,7 @@ struct __large_pstruct { unsigned long buf[100]; }; }) #define __get_dbe_asm(insn) \ -({ \ +{ \ __asm__ __volatile__( \ "1:\t" insn "\t%1,%2\n\t" \ "move\t%0,$0\n" \ @@ -67,7 +67,7 @@ struct __large_pstruct { unsigned long buf[100]; }; ".previous" \ :"=r" (__gu_err), "=r" (__gu_val) \ :"o" (__mp(__gu_addr)), "i" (-EFAULT)); \ -}) +} extern void __get_dbe_unknown(void); @@ -90,7 +90,7 @@ extern void __get_dbe_unknown(void); }) #define __put_dbe_asm(insn) \ -({ \ +{ \ __asm__ __volatile__( \ "1:\t" insn "\t%1,%2\n\t" \ "move\t%0,$0\n" \ @@ -104,7 +104,7 @@ extern void __get_dbe_unknown(void); ".previous" \ : "=r" (__pu_err) \ : "r" (__pu_val), "o" (__mp(__pu_addr)), "i" (-EFAULT)); \ -}) +} extern void __put_dbe_unknown(void); |