]> 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>
Wed, 19 Jan 2011 20:05:03 +0000 (12:05 -0800)
commitd5367b5f1494ca2cf09f62d7f2ffa6304e38a648
tree8dd930c0da45f3341d51d9ca0a33351beae916d9
parent1c7420422313375f7132479c588f09eabac73c70
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.

Change-Id: Ida1608774de3bc5861b223574f3cbf0d9647266c
Reviewed-on: http://gerrit.openafs.org/3682
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