diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-03-24 09:06:43 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-03-24 13:01:49 -0400 |
commit | ce486cd810a42572a91cada0be2538e433715449 (patch) | |
tree | d0df66c8def35b5acc338d74c45c0616e7bb43ce /include/asm-mips | |
parent | 7575a49f209190ca640e0da792565a1bcb641f3e (diff) |
[MIPS] ARC: Fix warning.
The missing cast did result a warning when calling an 32-bit ARC firmware
function that takes 5 arguments where the 5th argument is a pointer from a
64-bit kernel.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/sgiarcs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips/sgiarcs.h b/include/asm-mips/sgiarcs.h index ddb859d05257..439bce7daa3a 100644 --- a/include/asm-mips/sgiarcs.h +++ b/include/asm-mips/sgiarcs.h | |||
@@ -459,7 +459,7 @@ struct linux_smonblock { | |||
459 | register signed int __a2 __asm__("$5") = (int) (long) (a2); \ | 459 | register signed int __a2 __asm__("$5") = (int) (long) (a2); \ |
460 | register signed int __a3 __asm__("$6") = (int) (long) (a3); \ | 460 | register signed int __a3 __asm__("$6") = (int) (long) (a3); \ |
461 | register signed int __a4 __asm__("$7") = (int) (long) (a4); \ | 461 | register signed int __a4 __asm__("$7") = (int) (long) (a4); \ |
462 | register signed int __a5 = (a5); \ | 462 | register signed int __a5 = (int) (long) (a5); \ |
463 | long __vec = (long) romvec->dest; \ | 463 | long __vec = (long) romvec->dest; \ |
464 | __asm__ __volatile__( \ | 464 | __asm__ __volatile__( \ |
465 | "dsubu\t$29, 32\n\t" \ | 465 | "dsubu\t$29, 32\n\t" \ |