summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/arm64/bti/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/arm64/bti/system.c')
-rw-r--r--tools/testing/selftests/arm64/bti/system.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/testing/selftests/arm64/bti/system.c b/tools/testing/selftests/arm64/bti/system.c
index 6385d8d4973b..93d772b00bfe 100644
--- a/tools/testing/selftests/arm64/bti/system.c
+++ b/tools/testing/selftests/arm64/bti/system.c
@@ -8,12 +8,10 @@
#include <asm/unistd.h>
-#include "compiler.h"
-
void __noreturn exit(int n)
{
syscall(__NR_exit, n);
- __unreachable();
+ unreachable();
}
ssize_t write(int fd, const void *buf, size_t size)