]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/testing: add linux/args.h header and fix radix, VMA tests
authorLorenzo Stoakes <lorenzo.stoakes@oracle.com>
Mon, 11 Aug 2025 05:26:54 +0000 (06:26 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 19 Aug 2025 23:35:54 +0000 (16:35 -0700)
commit9a6a6a3191574a01dcf7a7d9385246d7bc8736bc
tree72eaf2cd9c4f8b4d4fa87287389bc2272d5da4e3
parentdde30854bddfb5d69f30022b53c5955a41088b33
tools/testing: add linux/args.h header and fix radix, VMA tests

Commit 857d18f23ab1 ("cleanup: Introduce ACQUIRE() and ACQUIRE_ERR() for
conditional locks") accidentally broke the radix tree, VMA userland tests
by including linux/args.h which is not present in the tools/include
directory.

This patch copies this over and adds an #ifdef block to avoid duplicate
__CONCAT declaration in conflict with system headers when we ultimately
include this.

Link: https://lkml.kernel.org/r/20250811052654.33286-1-lorenzo.stoakes@oracle.com
Fixes: 857d18f23ab1 ("cleanup: Introduce ACQUIRE() and ACQUIRE_ERR() for conditional locks")
Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Jann Horn <jannh@google.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Liam Howlett <liam.howlett@oracle.com>
Cc: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/include/linux/args.h [new file with mode: 0644]
tools/testing/shared/linux/idr.h