diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-08-19 19:47:54 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-08-19 19:47:54 +0000 |
commit | b040c2cbafe3da7f68872322274a421e4b51371e (patch) | |
tree | f2c6cb46d04eaeab4681fbec99b9c7d10dc9e96e /sys/lib/libkern/arch/vax/ovbcopy.S | |
parent | 96a7c09747d71ff61a373d73fe917007d1280df3 (diff) |
<machine/macros.h> would provide inline version of a few of the functions
traditionnaly found in libkern. However, the memcmp() flavour would behave
as bcmp() with only two possible return values: zero and positive non-zero.
This broke the name cache RB trees which now rely upon proper memcmp()
semantics(negative value, zero, or positive value).
Just give up on these macros and provide the same code as libc, in libkern.
As a side effect, this no longer uses the cmpc3 instruction, which is not
implemented and requires (slow) kernel emulation, on the original uVax.
Diffstat (limited to 'sys/lib/libkern/arch/vax/ovbcopy.S')
-rw-r--r-- | sys/lib/libkern/arch/vax/ovbcopy.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/lib/libkern/arch/vax/ovbcopy.S b/sys/lib/libkern/arch/vax/ovbcopy.S index 33ba5c2da5c..10f0be2384c 100644 --- a/sys/lib/libkern/arch/vax/ovbcopy.S +++ b/sys/lib/libkern/arch/vax/ovbcopy.S @@ -1 +1 @@ -/* No code here since kernel impliments this itself */ +/* No code here since <machine/param.h> defines ovbcopy() as bcopy() */ |