summaryrefslogtreecommitdiff
path: root/include/linux/sched/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched/debug.h')
-rw-r--r--include/linux/sched/debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched/debug.h b/include/linux/sched/debug.h
index 00c45a0e6abe..ae51f4529fc9 100644
--- a/include/linux/sched/debug.h
+++ b/include/linux/sched/debug.h
@@ -43,7 +43,7 @@ extern void proc_sched_set_task(struct task_struct *p);
#endif
/* Attach to any functions which should be ignored in wchan output. */
-#define __sched __attribute__((__section__(".sched.text")))
+#define __sched __section(".sched.text")
/* Linker adds these: start and end of __sched functions */
extern char __sched_text_start[], __sched_text_end[];