Skip to content

Commit ab92f0f

Browse files
committed
[llvm-exegesis] [AArch64] Revert redundant PR_PAC_* constants
1 parent 6b593fe commit ab92f0f

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

llvm/tools/llvm-exegesis/lib/AArch64/Target.cpp

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,7 @@
1010
#include "AArch64RegisterInfo.h"
1111

1212
#if defined(__aarch64__) && defined(__linux__)
13-
#include <linux/prctl.h> // For PR_PAC_* constants
14-
#include <sys/prctl.h>
15-
#ifndef PR_PAC_SET_ENABLED_KEYS
16-
#define PR_PAC_SET_ENABLED_KEYS 60
17-
#endif
18-
#ifndef PR_PAC_GET_ENABLED_KEYS
19-
#define PR_PAC_GET_ENABLED_KEYS 61
20-
#endif
13+
#include <sys/prctl.h> // For PR_PAC_* constants
2114
#ifndef PR_PAC_APIAKEY
2215
#define PR_PAC_APIAKEY (1UL << 0)
2316
#endif

0 commit comments

Comments
 (0)