summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/sgx/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/sgx/defines.h')
-rw-r--r--tools/testing/selftests/sgx/defines.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/sgx/defines.h b/tools/testing/selftests/sgx/defines.h
index b8f482667ce1..402f8787a71c 100644
--- a/tools/testing/selftests/sgx/defines.h
+++ b/tools/testing/selftests/sgx/defines.h
@@ -14,6 +14,7 @@
#define __aligned(x) __attribute__((__aligned__(x)))
#define __packed __attribute__((packed))
#define __used __attribute__((used))
+#define __section(x)__attribute__((__section__(x)))
#include "../../../../arch/x86/include/asm/sgx.h"
#include "../../../../arch/x86/include/asm/enclu.h"