Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[linux/fpc-iii.git] / arch / x86 / boot / compressed / string.c
blobffb9c5c9d7486efb0a61fff5a73c5995aa9b32e0
1 #include "misc.h"
3 int memcmp(const void *s1, const void *s2, size_t len)
5 u8 diff;
6 asm("repe; cmpsb; setnz %0"
7 : "=qm" (diff), "+D" (s1), "+S" (s2), "+c" (len));
8 return diff;
11 #include "../string.c"