]> git.michaelhowe.org Git - packages/o/openafs.git/commit
OpenBSD: Fix use of macros for AFS_KALLOC/AFS_KFREE
authorAntoine Verheijen <antoine@ualberta.ca>
Wed, 19 Jan 2011 18:52:10 +0000 (11:52 -0700)
committerDerrick Brashear <shadow@dementia.org>
Sat, 22 Jan 2011 20:59:42 +0000 (12:59 -0800)
commit0678466715bde1148e7a3b553b0cec2f7d1c9c99
tree612af2706a62e851165f7f8fba7514435c9f7f94
parent7a6569e66156411dd100668fb6b3d79178045dde
OpenBSD: Fix use of macros for AFS_KALLOC/AFS_KFREE

The macro definitions for AFS_KALLOC and AFS_KFREE used by
afs_osi_alloc.c to perform OS-specific memory allocation
are only defined by the OpenBSD osi_machdep.h header file
if they already exist, which means: never. This patch fixes
this situtation and makes sure that afs_osi_alloc.c
actually uses them, eliminating a direct OS-specific call
in afs_osi_alloc.c.

Reviewed-on: http://gerrit.openafs.org/3682
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit d5367b5f1494ca2cf09f62d7f2ffa6304e38a648)

Change-Id: I362f1b6ab808ff171cebc429eb74703c7151d026
Reviewed-on: http://gerrit.openafs.org/3718
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/OBSD/osi_machdep.h
src/afs/afs_osi_alloc.c