diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-08-03 20:02:28 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-08-03 20:02:28 +0300 |
commit | e087437a6fef3acc11aaa1ade84731fe1571b808 (patch) | |
tree | d6d50bcd88eba1d1200617b348feca9a5af5d677 /tools | |
parent | b6bb70f9ab80a11161252bf217993d2c40ea5eb2 (diff) | |
parent | 85656ec193e9ca9c11f7c75dc733c071755b189e (diff) |
Merge tag 'xarray-6.0' of git://git.infradead.org/users/willy/xarray
Pull XArray/IDR updates from Matthew Wilcox:
- Add appropriate might_alloc() annotations to the XArray APIs
- Document that the IDR is deprecated
* tag 'xarray-6.0' of git://git.infradead.org/users/willy/xarray:
IDR: Note that the IDR API is deprecated
XArray: Add calls to might_alloc()
Diffstat (limited to 'tools')
-rw-r--r-- | tools/include/linux/sched/mm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/include/linux/sched/mm.h b/tools/include/linux/sched/mm.h index c8d9f19c1f35..967294b8edcf 100644 --- a/tools/include/linux/sched/mm.h +++ b/tools/include/linux/sched/mm.h @@ -1,4 +1,6 @@ #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 */ |