diff options
-rw-r--r-- | include/asm-mips/unaligned.h | 2 | ||||
-rw-r--r-- | include/asm-mips64/unaligned.h | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/include/asm-mips/unaligned.h b/include/asm-mips/unaligned.h index 772cef1c3..eb975cade 100644 --- a/include/asm-mips/unaligned.h +++ b/include/asm-mips/unaligned.h @@ -117,7 +117,7 @@ extern inline void __stw_u(unsigned long __val, unsigned short * __addr) __val; \ }) -#define put_unaligned(x,ptr) \ +#define put_unaligned(val,ptr) \ do { \ switch (sizeof(*(ptr))) { \ case 1: \ diff --git a/include/asm-mips64/unaligned.h b/include/asm-mips64/unaligned.h index 80de6dee7..76b525a1d 100644 --- a/include/asm-mips64/unaligned.h +++ b/include/asm-mips64/unaligned.h @@ -1,5 +1,4 @@ -/* $Id$ - * +/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. @@ -113,7 +112,7 @@ extern inline void __stw_u(unsigned long __val, unsigned short * __addr) __val; \ }) -#define put_unaligned(x,ptr) \ +#define put_unaligned(val,ptr) \ do { \ switch (sizeof(*(ptr))) { \ case 1: \ |