mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-19 11:11:26 -04:00
Gcc 4.0 fixes.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
5eaf7a21be
commit
77c728c224
3 changed files with 11 additions and 9 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue