2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file COPYING in the main directory of this archive
7 #include <linux/module.h>
8 #include <linux/string.h>
10 void *memset(void *s, int c, size_t count)
26 if (count > 2 && (long)s & 2) {
35 #if defined(CONFIG_M68000) || defined(CONFIG_COLDFIRE)
45 " jmp %%pc@(2f,%2:w:2)\n"
58 : "=a" (ls), "=d" (temp), "=&d" (temp1)
59 : "d" (c), "0" (ls), "1" (temp));
74 EXPORT_SYMBOL(memset);