summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/linux/prctl.h
diff options
context:
space:
mode:
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