summaryrefslogtreecommitdiffstats
path: root/arch/x86/lib/memcpy_32.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@computergmbh.de>2008-01-30 13:33:23 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:33:23 +0100
commitade1af77129dea6e335b525ed3be3b846bc1ec13 (patch)
tree0fee8803a8145ef9935212c31df59bb339a78811 /arch/x86/lib/memcpy_32.c
parentd729ab35ee1367b7690458ae9e050571cb055bd3 (diff)
downloadop-kernel-dev-ade1af77129dea6e335b525ed3be3b846bc1ec13.zip
op-kernel-dev-ade1af77129dea6e335b525ed3be3b846bc1ec13.tar.gz
x86: remove unneded casts
x86: remove unneeded casts Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/lib/memcpy_32.c')
-rw-r--r--arch/x86/lib/memcpy_32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/lib/memcpy_32.c b/arch/x86/lib/memcpy_32.c
index 8ac51b8..37756b6 100644
--- a/arch/x86/lib/memcpy_32.c
+++ b/arch/x86/lib/memcpy_32.c
@@ -34,8 +34,8 @@ void *memmove(void *dest, const void *src, size_t n)
"cld"
: "=&c" (d0), "=&S" (d1), "=&D" (d2)
:"0" (n),
- "1" (n-1+(const char *)src),
- "2" (n-1+(char *)dest)
+ "1" (n-1+src),
+ "2" (n-1+dest)
:"memory");
}
return dest;
OpenPOWER on IntegriCloud