aboutsummaryrefslogtreecommitdiff
path: root/include/asm-i386/current.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/current.h')
-rw-r--r--include/asm-i386/current.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/current.h b/include/asm-i386/current.h
index d97328951f5..3cbbecd7901 100644
--- a/include/asm-i386/current.h
+++ b/include/asm-i386/current.h
@@ -5,7 +5,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;
}