diff options
author | Kevin Brodsky <[email protected]> | 2024-11-07 13:16:40 +0000 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2024-11-07 21:52:48 +0000 |
commit | db64dfffcad2992d6bfc680822bdf715335c43f1 (patch) | |
tree | 7d32acb6e03baf258c1999978e198084b2977316 /arch/x86/kernel/acpi/cppc.c | |
parent | 49f59573e9e06093ba23caf4ea1641b16e7e497e (diff) |
selftests/mm: Define PKEY_UNRESTRICTED for pkey_sighandler_tests
Commit 6e182dc9f268 ("selftests/mm: Use generic pkey register
manipulation") makes use of PKEY_UNRESTRICTED in
pkey_sighandler_tests. The macro has been proposed for addition to
uapi headers [1], but the patch hasn't landed yet.
Define PKEY_UNRESTRICTED in pkey-helpers.h for the time being to fix
the build.
[1] https://lore.kernel.org/all/[email protected]/
Fixes: 6e182dc9f268 ("selftests/mm: Use generic pkey register manipulation")
Reported-by: Aishwarya TCV <[email protected]>
Signed-off-by: Kevin Brodsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'arch/x86/kernel/acpi/cppc.c')
0 files changed, 0 insertions, 0 deletions