summaryrefslogtreecommitdiff
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/xtensa/include/asm/current.h b/arch/xtensa/include/asm/current.h
index 08010dbf5e09..7b483538f066 100644
--- a/arch/xtensa/include/asm/current.h
+++ b/arch/xtensa/include/asm/current.h
@@ -13,13 +13,13 @@
#include <asm/thread_info.h>
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <linux/thread_info.h>
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;
}