testing/radix-tree: add cleanup.h to shared/linux
PATCH 1/1 testing/radix-tree: add cleanup.h to shared/linux
Create a cleanup.h implementation in tools/testing/shared/linux to build the idr code within userspace. This is needed after commit 6c8b0b835f00 added #include <linux/cleanup.h> to include/linux/idr.h to build the userpsace radix-tree testsuite.
---
Once 6.14 is stable after the merge window this will have to be CCed to the 6.14 stable branch
tools/testing/shared/linux/cleanup.h | 1 + 1 file changed, 1 insertion(+) create mode 100644 tools/testing/shared/linux/cleanup.h
tools/testing/shared/linux/cleanup.h new file +1 -0
@@ -0,0 +1 @@ +#include "../../../../include/linux/cleanup.h"
Signature · 1 line
2.39.5
Hi Sidhartha,
Quoted 4 lines · Sidhartha Kumar
Create a
cleanup.himplementation intools/testing/shared/linuxto build the idr code within userspace. This is needed after commit6c8b0b835f00added #include <linux/cleanup.h> toinclude/linux/idr.hto build the userpsace radix-tree testsuite.
FWIW, similar fix was posted few days back:
https://lore.kernel.org/r/[email protected]
Thanks,
Ravi
Quoted 11 lines · Ravi Bangoria
Hi Sidhartha,
Quoted 4 lines · Sidhartha Kumar
Create a
cleanup.himplementation intools/testing/shared/linuxto build the idr code within userspace. This is needed after commit6c8b0b835f00added #include <linux/cleanup.h> toinclude/linux/idr.hto build the userpsace radix-tree testsuite.FWIW, similar fix was posted few days back:
Thanks for pointing that out, this patch can be ignored then.
Sorry for the noise,
Sid
Quoted 3 lines
Thanks,
Ravi