From a984eb367c032dbe2577f01238c3d1268526be70 Mon Sep 17 00:00:00 2001 From: Kacper Date: Thu, 25 Dec 2025 19:24:38 +0100 Subject: Clang-tidy fixes --- include/arch/x86_64/linux/prctl.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'include/arch/x86_64/linux/prctl.h') diff --git a/include/arch/x86_64/linux/prctl.h b/include/arch/x86_64/linux/prctl.h index 2c2e38fc..ad7d1587 100644 --- a/include/arch/x86_64/linux/prctl.h +++ b/include/arch/x86_64/linux/prctl.h @@ -330,18 +330,16 @@ struct prctl_mm_map { #define PR_PPC_GET_DEXCR 72 #define PR_PPC_SET_DEXCR 73 /* DEXCR aspect to act on */ -#define PR_PPC_DEXCR_SBHE 0 /* Speculative branch hint enable */ -#define PR_PPC_DEXCR_IBRTPD \ - 1 /* Indirect branch recurrent target prediction disable */ +#define PR_PPC_DEXCR_SBHE 0 /* Speculative branch hint enable */ +#define PR_PPC_DEXCR_IBRTPD 1 /* Indirect branch recurrent target prediction disable */ #define PR_PPC_DEXCR_SRAPD \ 2 /* Subroutine return address prediction disable \ */ #define PR_PPC_DEXCR_NPHIE 3 /* Non-privileged hash instruction enable */ /* Action to apply / return */ -#define PR_PPC_DEXCR_CTRL_EDITABLE \ - 0x1 /* Aspect can be modified with PR_PPC_SET_DEXCR */ -#define PR_PPC_DEXCR_CTRL_SET 0x2 /* Set the aspect for this process */ -#define PR_PPC_DEXCR_CTRL_CLEAR 0x4 /* Clear the aspect for this process */ +#define PR_PPC_DEXCR_CTRL_EDITABLE 0x1 /* Aspect can be modified with PR_PPC_SET_DEXCR */ +#define PR_PPC_DEXCR_CTRL_SET 0x2 /* Set the aspect for this process */ +#define PR_PPC_DEXCR_CTRL_CLEAR 0x4 /* Clear the aspect for this process */ #define PR_PPC_DEXCR_CTRL_SET_ONEXEC 0x8 /* Set the aspect on exec */ #define PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC 0x10 /* Clear the aspect on exec */ #define PR_PPC_DEXCR_CTRL_MASK 0x1f -- cgit v1.2.3