From c57bd8db990bc512bf55b3073023a3731791fd55 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Thu, 15 Nov 2001 03:20:55 +0000 Subject: [PATCH] STABLE12-dux-kernel-lacks-mem-functions-20011016 pull into stable (kernel lacks memcpy memset memcmp) (cherry picked from commit 50b3a0fb22403b250585cbc3d7c4cd17440840d5) --- src/config/param.alpha_dux40.h | 4 ++++ src/config/param.alpha_dux50.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/config/param.alpha_dux40.h b/src/config/param.alpha_dux40.h index 1b5c8c45c..1270ee9bc 100644 --- a/src/config/param.alpha_dux40.h +++ b/src/config/param.alpha_dux40.h @@ -102,6 +102,10 @@ enum vcexcl {NONEXCL, EXCL}; #include #endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */ + +#define memset(A, B, S) bzero(A, S) +#define memcpy(B, A, S) bcopy(A, B, S) +#define memcmp(A, B, S) bcmp(A, B, S) #endif /* _KERNEL */ #endif /* AFS_PARAM_H */ diff --git a/src/config/param.alpha_dux50.h b/src/config/param.alpha_dux50.h index 02517aecd..651fadbdf 100644 --- a/src/config/param.alpha_dux50.h +++ b/src/config/param.alpha_dux50.h @@ -103,6 +103,10 @@ enum vcexcl {NONEXCL, EXCL}; #include #endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */ + +#define memset(A, B, S) bzero(A, S) +#define memcpy(B, A, S) bcopy(A, B, S) +#define memcmp(A, B, S) bcmp(A, B, S) #endif /* _KERNEL */ #endif /* AFS_PARAM_H */ -- 2.39.5