diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-10-06 17:54:00 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-10-06 17:54:00 +0000 |
commit | d75b0048c0f66f3878ce8d1083cdea65d867e887 (patch) | |
tree | efc786e514fcb1ba31318ab6974569116cce469b | |
parent | 01a8c188eb45194683ee996705a3438799401e5f (diff) |
Make put_unaligned() compile.
-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: \ |