diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-06-01 03:16:17 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-06-01 03:16:17 +0000 |
commit | d8d9b8f76f22b7a16a83e261e64f89ee611f49df (patch) | |
tree | 3067bc130b80d52808e6390c9fc7fc087ec1e33c /include/asm-sparc64/string.h | |
parent | 19c9bba94152148523ba0f7ef7cffe3d45656b11 (diff) |
Initial revision
Diffstat (limited to 'include/asm-sparc64/string.h')
-rw-r--r-- | include/asm-sparc64/string.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/asm-sparc64/string.h b/include/asm-sparc64/string.h index 1470bcfef..b420d80bb 100644 --- a/include/asm-sparc64/string.h +++ b/include/asm-sparc64/string.h @@ -1,4 +1,4 @@ -/* $Id: string.h,v 1.4 1997/04/01 09:34:41 davem Exp $ +/* $Id: string.h,v 1.5 1997/05/18 04:16:57 davem Exp $ * string.h: External definitions for optimized assembly string * routines for the Linux Kernel. * @@ -41,14 +41,18 @@ extern inline void *__constant_memcpy(void *to, const void *from, __kernel_size_ if(n <= 32) { __builtin_memcpy(to, from, n); } else { +#if 0 switch(n) { case 8192: __copy_1page(to, from); break; default: +#endif __memcpy(to, from, n); +#if 0 break; } +#endif } } return to; @@ -74,9 +78,11 @@ extern inline void *__constant_c_and_count_memset(void *s, char c, __kernel_size extern __kernel_size_t __bzero(void *, __kernel_size_t); if(!c) { +#if 0 if(count == 8192) bzero_1page(s); else +#endif __bzero(s, count); } else { __memset(s, c, count); |