x86: coding style fixes to arch/x86/lib/memcpy_32.c
Before: total: 2 errors, 0 warnings, 43 lines checked After: total: 0 errors, 0 warnings, 43 lines checked No code changed: arch/x86/lib/memcpy_32.o: text data bss dec hex filename 164 0 0 164 a4 memcpy_32.o.before 164 0 0 164 a4 memcpy_32.o.after md5: d759f55621af27f51720b59c8ca96a4d memcpy_32.o.before.asm d759f55621af27f51720b59c8ca96a4d memcpy_32.o.after.asm Signed-off-by: Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
e0f0257044
commit
93d8bd3d4f
|
@ -25,7 +25,7 @@ void *memmove(void *dest, const void *src, size_t n)
|
||||||
int d0, d1, d2;
|
int d0, d1, d2;
|
||||||
|
|
||||||
if (dest < src) {
|
if (dest < src) {
|
||||||
memcpy(dest,src,n);
|
memcpy(dest, src, n);
|
||||||
} else {
|
} else {
|
||||||
__asm__ __volatile__(
|
__asm__ __volatile__(
|
||||||
"std\n\t"
|
"std\n\t"
|
||||||
|
|
Loading…
Reference in New Issue