revert between 56095 -> 55830 in arch
[AROS.git] / workbench / hidds / nouveau / drm / drm-aros / drm_mem_util.h
blob23d7e76e84bf55ffdacb996ac1e703a8a52e1a72
1 /*
2 Copyright 2009, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef _DRM_MEM_UTIL_H_
7 #define _DRM_MEM_UTIL_H_
9 #include "drm_compat_funcs.h"
11 static inline void *drm_calloc_large(size_t nmemb, size_t size)
13 return HIDDNouveauAlloc(nmemb * size);
16 static inline void *drm_malloc_ab(size_t nmemb, size_t size)
18 return HIDDNouveauAlloc(nmemb * size);
21 static inline void drm_free_large(void *ptr)
23 HIDDNouveauFree(ptr);
26 #endif