Revert "add kvmalloc alloc_size attribute"
This reverts commit 11c4ea478b
.
This commit is contained in:
parent
2be24d6b8b
commit
5b8d0cd5f0
1 changed files with 1 additions and 1 deletions
|
@ -816,7 +816,7 @@ static inline int is_vmalloc_or_module_addr(const void *x)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void *kvmalloc_node(size_t size, gfp_t flags, int node) __attribute__((alloc_size(1)));
|
extern void *kvmalloc_node(size_t size, gfp_t flags, int node);
|
||||||
static inline void *kvmalloc(size_t size, gfp_t flags)
|
static inline void *kvmalloc(size_t size, gfp_t flags)
|
||||||
{
|
{
|
||||||
return kvmalloc_node(size, flags, NUMA_NO_NODE);
|
return kvmalloc_node(size, flags, NUMA_NO_NODE);
|
||||||
|
|
Loading…
Reference in a new issue