mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sidhartha Kumar <sidhartha.kumar@oracle.com>
To: mingo@kernel.org, peterz@infradead.org, lucas.demarchi@intel.com
Cc: linux-kernel@vger.kernel.org, ravi.bangoria@amd.com,
	lorenzo.stoakes@oracle.com, liam.howlett@oracle.com,
	Sidhartha Kumar <sidhartha.kumar@oracle.com>
Subject: [PATCH] testing/radix-tree: add cleanup.h to shared/linux
Date: Tue, 25 Mar 2025 17:40:49 -0400	[thread overview]
Message-ID: <20250325214049.87817-1-sidhartha.kumar@oracle.com> (raw)

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



             reply	other threads:[~2025-03-25 21:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-25 21:40 Sidhartha Kumar [this message]
2025-03-26  4:06 ` Ravi Bangoria
2025-03-26  4:09   ` Sidhartha Kumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250325214049.87817-1-sidhartha.kumar@oracle.com \
    --to=sidhartha.kumar@oracle.com \
    --cc=liam.howlett@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lorenzo.stoakes@oracle.com \
    --cc=lucas.demarchi@intel.com \
    --cc=mingo@kernel.org \
    --cc=peterz@infradead.org \
    --cc=ravi.bangoria@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®