mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 23:46:45 +00:00

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>
7 lines
161 B
C
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 */
|