repo.or.cz
/
drm
/
drm-misc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
drm/ast: Only warn about unsupported TX chips on Gen4 and later
[drm/drm-misc.git]
/
tools
/
include
/
linux
/
zalloc.h
blob
81099c84043f6b782af7e954896584a7bff62c77
1
// SPDX-License-Identifier: LGPL-2.1
2
#ifndef __TOOLS_LINUX_ZALLOC_H
3
#define __TOOLS_LINUX_ZALLOC_H
4
5
#include <stddef.h>
6
7
void
*
zalloc
(
size_t
size
);
8
void
__zfree
(
void
**
ptr
);
9
10
#define zfree(ptr) __zfree((void **)(ptr))
11
12
#endif
// __TOOLS_LINUX_ZALLOC_H