summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-10-06 17:54:00 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-10-06 17:54:00 +0000
commitd75b0048c0f66f3878ce8d1083cdea65d867e887 (patch)
treeefc786e514fcb1ba31318ab6974569116cce469b /include
parent01a8c188eb45194683ee996705a3438799401e5f (diff)
Make put_unaligned() compile.
Diffstat (limited to 'include')
-rw-r--r--include/asm-mips/unaligned.h2
-rw-r--r--include/asm-mips64/unaligned.h5
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: \