summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/linux/prctl.h
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-25 19:24:38 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-25 20:35:03 +0100
commita984eb367c032dbe2577f01238c3d1268526be70 (patch)
tree437fef40379b2758b129ccea39df3570fa2d145e /include/arch/x86_64/linux/prctl.h
parent8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff)
Clang-tidy fixes
Diffstat (limited to 'include/arch/x86_64/linux/prctl.h')
-rw-r--r--include/arch/x86_64/linux/prctl.h12
1 files changed, 5 insertions, 7 deletions
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