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(__mc68020__) || defined(__mc68030__) || \
36 defined(__mc68040__) || defined(__mc68060__) || defined(__mcpu32__)
43 " jmp %%pc@(2f,%2:w:2)\n"
56 : "=a" (ls), "=d" (temp), "=&d" (temp1)
57 : "d" (c), "0" (ls), "1" (temp));
75 EXPORT_SYMBOL(memset);