summaryrefslogtreecommitdiff
path: root/include/asm-generic/error-injection.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/error-injection.h')
-rw-r--r--include/asm-generic/error-injection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/error-injection.h b/include/asm-generic/error-injection.h
index 80ca61058dd2..7ddd9dc10ce9 100644
--- a/include/asm-generic/error-injection.h
+++ b/include/asm-generic/error-injection.h
@@ -25,7 +25,7 @@ struct pt_regs;
*/
#define ALLOW_ERROR_INJECTION(fname, _etype) \
static struct error_injection_entry __used \
- __attribute__((__section__("_error_injection_whitelist"))) \
+ __section("_error_injection_whitelist") \
_eil_addr_##fname = { \
.addr = (unsigned long)fname, \
.etype = EI_ETYPE_##_etype, \