selftests/rseq: Fix build with undefined __weak
[platform/kernel/linux-starfive.git] / tools / testing / selftests / rseq / rseq.c
index a723da2..96e812b 100644 (file)
@@ -31,6 +31,8 @@
 #include <sys/auxv.h>
 #include <linux/auxvec.h>
 
+#include <linux/compiler.h>
+
 #include "../kselftest.h"
 #include "rseq.h"