mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] testing/radix-tree: add cleanup.h to shared/linux
@ 2025-03-25 21:40 Sidhartha Kumar
  2025-03-26  4:06 ` Ravi Bangoria
  0 siblings, 1 reply; 3+ messages in thread
From: Sidhartha Kumar @ 2025-03-25 21:40 UTC (permalink / raw)
  To: mingo, peterz, lucas.demarchi
  Cc: linux-kernel, ravi.bangoria, lorenzo.stoakes, liam.howlett,
	Sidhartha Kumar

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.

Fixes: 6c8b0b835f00 ("perf/core: Simplify perf_pmu_register()")
Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
---
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

diff --git a/tools/testing/shared/linux/cleanup.h b/tools/testing/shared/linux/cleanup.h
new file mode 100644
index 000000000000..7c811dbb956c
--- /dev/null
+++ b/tools/testing/shared/linux/cleanup.h
@@ -0,0 +1 @@
+#include "../../../../include/linux/cleanup.h"
-- 
2.39.5



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] testing/radix-tree: add cleanup.h to shared/linux
  2025-03-25 21:40 [PATCH] testing/radix-tree: add cleanup.h to shared/linux Sidhartha Kumar
@ 2025-03-26  4:06 ` Ravi Bangoria
  2025-03-26  4:09   ` Sidhartha Kumar
  0 siblings, 1 reply; 3+ messages in thread
From: Ravi Bangoria @ 2025-03-26  4:06 UTC (permalink / raw)
  To: Sidhartha Kumar
  Cc: Daniel Gomez, mingo, peterz, lucas.demarchi, linux-kernel,
	lorenzo.stoakes, liam.howlett

Hi Sidhartha,

On 26-Mar-25 3:10 AM, Sidhartha Kumar wrote:
> 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.

FWIW, similar fix was posted few days back:

https://lore.kernel.org/r/20250321-fix-radix-tree-build-v1-1-838a1e6540e2@samsung.com

Thanks,
Ravi

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] testing/radix-tree: add cleanup.h to shared/linux
  2025-03-26  4:06 ` Ravi Bangoria
@ 2025-03-26  4:09   ` Sidhartha Kumar
  0 siblings, 0 replies; 3+ messages in thread
From: Sidhartha Kumar @ 2025-03-26  4:09 UTC (permalink / raw)
  To: Ravi Bangoria
  Cc: Daniel Gomez, mingo, peterz, lucas.demarchi, linux-kernel,
	lorenzo.stoakes, liam.howlett

On 3/26/25 12:06 AM, Ravi Bangoria wrote:
> Hi Sidhartha,
> 
> On 26-Mar-25 3:10 AM, Sidhartha Kumar wrote:
>> 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.
> 
> FWIW, similar fix was posted few days back:
> 
> https://lore.kernel.org/r/20250321-fix-radix-tree-build-v1-1-838a1e6540e2@samsung.com

Thanks for pointing that out, this patch can be ignored then.

Sorry for the noise,
Sid

> 
> Thanks,
> Ravi


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-03-26  4:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-25 21:40 [PATCH] testing/radix-tree: add cleanup.h to shared/linux Sidhartha Kumar
2025-03-26  4:06 ` Ravi Bangoria
2025-03-26  4:09   ` Sidhartha Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®