Changeset 2069abc in freewrt for target/linux/generic-2.4/patches
- Timestamp:
- Oct 6, 2006, 3:55:13 PM (19 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- 0b5e22b
- Parents:
- f9b6d4a0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
target/linux/generic-2.4/patches/000-linux_mips.patch
rf9b6d4a0 r2069abc 27161 27161 * one machine, though only having one is more likely on an Indy. 27162 27162 */ 27163 diff --exclude=.gitignore -uNr linux-2.4.33.3/include/asm-mips/string.h linux-2.4.33.3.mips/include/asm-mips/string.h27164 --- linux-2.4.33.3/include/asm-mips/string.h 2006-08-31 19:03:20.000000000 +020027165 +++ linux-2.4.33.3.mips/include/asm-mips/string.h 2006-09-16 17:02:43.000000000 +020027166 @@ -132,24 +132,4 @@27167 /* Don't build bcopy at all ... */27168 #define __HAVE_ARCH_BCOPY27169 27170 -#define __HAVE_ARCH_MEMSCAN27171 -static __inline__ void *memscan(void *__addr, int __c, size_t __size)27172 -{27173 - char *__end = (char *)__addr + __size;27174 - unsigned char __uc = (unsigned char) __c;27175 -27176 - __asm__(".set\tpush\n\t"27177 - ".set\tnoat\n\t"27178 - ".set\treorder\n\t"27179 - "1:\tbeq\t%0,%1,2f\n\t"27180 - "addiu\t%0,1\n\t"27181 - "lbu\t$1,-1(%0)\n\t"27182 - "bne\t$1,%z4,1b\n"27183 - "2:\t.set\tpop"27184 - : "=r" (__addr), "=r" (__end)27185 - : "0" (__addr), "1" (__end), "Jr" (__uc));27186 -27187 - return __addr;27188 -}27189 -27190 #endif /* __ASM_STRING_H */27191 27163 diff --exclude=.gitignore -uNr linux-2.4.33.3/include/asm-mips/tx4927/tx4927.h linux-2.4.33.3.mips/include/asm-mips/tx4927/tx4927.h 27192 27164 --- linux-2.4.33.3/include/asm-mips/tx4927/tx4927.h 2006-08-31 19:03:20.000000000 +0200
Note:
See TracChangeset
for help on using the changeset viewer.
