mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-12 12:08:55 +00:00
Add basic project files, together with local stubs of required headers. Update tools/include/slab.h to include definitions used by memblock. Signed-off-by: Karolina Drobnik <karolinadrobnik@gmail.com> Signed-off-by: Mike Rapoport <rppt@kernel.org> Link: https://lore.kernel.org/r/d296fceb023a04b316a31fbff9acf1e76ac684e4.1643796665.git.karolinadrobnik@gmail.com
19 lines
324 B
C
19 lines
324 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef _KMEMLEAK_H
|
|
#define _KMEMLEAK_H
|
|
|
|
static inline void kmemleak_free_part_phys(phys_addr_t phys, size_t size)
|
|
{
|
|
}
|
|
|
|
static inline void kmemleak_alloc_phys(phys_addr_t phys, size_t size,
|
|
int min_count, gfp_t gfp)
|
|
{
|
|
}
|
|
|
|
static inline void dump_stack(void)
|
|
{
|
|
}
|
|
|
|
#endif
|