summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include/asm/current.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/include/asm/current.h')
-rw-r--r--arch/xtensa/include/asm/current.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/include/asm/current.h b/arch/xtensa/include/asm/current.h
index 08010dbf5e..df275d5547 100644
--- a/arch/xtensa/include/asm/current.h
+++ b/arch/xtensa/include/asm/current.h
@@ -19,7 +19,7 @@
struct task_struct;
-static inline struct task_struct *get_current(void)
+static __always_inline struct task_struct *get_current(void)
{
return current_thread_info()->task;
}