diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2022-02-03 21:01:39 +0000 |
|---|---|---|
| committer | Matthew Wilcox (Oracle) <[email protected]> | 2022-02-03 21:01:39 +0000 |
| commit | 22f56b8e890d4e2835951b437bb6eeebfd1cb18b (patch) | |
| tree | 9fb887d62f04cf0548a8500d01f2abd7614f77e9 /lib/test_xarray.c | |
| parent | XArray: Document the locking requirement for the xa_state (diff) | |
| download | kernel-22f56b8e890d4e2835951b437bb6eeebfd1cb18b.tar.gz kernel-22f56b8e890d4e2835951b437bb6eeebfd1cb18b.zip | |
XArray: Include bitmap.h from xarray.h
xas_find_chunk() calls find_next_bit(), which is defined in find.h,
included from bitmap.h. Inside the kernel, this isn't a problem because
bitmap.h is included from cpumask.h which is dragged in (eventually)
by gfp.h. When building the test-suite, that doesn't happen, so we need
to include bitmap.h explicitly.
Fixes: 4ade0818cf04 ("tools: sync tools/bitmap with mother linux")
Reported-by: Liam Howlett <[email protected]>
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions
