mirror of https://gitee.com/openkylin/linux.git
x86: coding style fixes to arch/x86/lib/strstr_3
Before: total: 3 errors, 0 warnings, 31 lines checked After: total: 0 errors, 0 warnings, 31 lines checked No code changed: arch/x86/lib/strstr_32.o: text data bss dec hex filename 49 0 0 49 31 strstr_32.o.before 49 0 0 49 31 strstr_32.o.after md5: a224a7c4082e75a4f31f9d91dd34fe8e strstr_32.o.before.asm a224a7c4082e75a4f31f9d91dd34fe8e strstr_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
d717ca84c0
commit
f73920cd63
|
@ -1,9 +1,9 @@
|
|||
#include <linux/string.h>
|
||||
|
||||
char * strstr(const char * cs,const char * ct)
|
||||
char *strstr(const char *cs, const char *ct)
|
||||
{
|
||||
int d0, d1;
|
||||
register char * __res;
|
||||
register char *__res;
|
||||
__asm__ __volatile__(
|
||||
"movl %6,%%edi\n\t"
|
||||
"repne\n\t"
|
||||
|
|
Loading…
Reference in New Issue