linux-yocto/tools/include/linux/sched/mm.h
Matthew Wilcox (Oracle) 1dd685c414 XArray: Add calls to might_alloc()
Catch bogus GFP flags deterministically, instead of occasionally
when we actually have to allocate memory.

Reported-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
2022-07-10 21:17:30 -04:00

7 lines
161 B
C

#ifndef _TOOLS_PERF_LINUX_SCHED_MM_H
#define _TOOLS_PERF_LINUX_SCHED_MM_H
#define might_alloc(gfp) do { } while (0)
#endif /* _TOOLS_PERF_LINUX_SCHED_MM_H */