Added contigfree() as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22804 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
01ada2057f
commit
689177bed5
@ -26,7 +26,7 @@ void _kernel_contigfree(void *addr, unsigned long size);
|
||||
#define kernel_malloc(size, base, flags) \
|
||||
_kernel_malloc(size, flags)
|
||||
|
||||
#define kernel_free( ptr, base) \
|
||||
#define kernel_free(ptr, base) \
|
||||
_kernel_free(ptr)
|
||||
|
||||
#define kernel_contigmalloc(size, type, flags, low, high, alignment, boundary) \
|
||||
@ -42,6 +42,8 @@ void _kernel_contigfree(void *addr, unsigned long size);
|
||||
# define contigmalloc(size, type, flags, low, high, alignment, boundary) \
|
||||
_kernel_contigmalloc(__FILE__, __LINE__, size, flags, low, high, \
|
||||
alignment, boundary)
|
||||
# define contigfree(addr, size, base) \
|
||||
_kernel_contigfree(addr, size)
|
||||
#endif
|
||||
|
||||
#endif /* _FBSD_COMPAT_SYS_MALLOC_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user