Commit 265f79dc authored by Heiko Carstens's avatar Heiko Carstens Committed by Vasily Gorbik

s390: always inline current_stack_pointer()

This function must be inlined since any caller expects the current
stack pointer; which wouldn't be true if the function isn't inlined.
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
parent 2416cefc
...@@ -206,7 +206,7 @@ unsigned long get_wchan(struct task_struct *p); ...@@ -206,7 +206,7 @@ unsigned long get_wchan(struct task_struct *p);
/* Has task runtime instrumentation enabled ? */ /* Has task runtime instrumentation enabled ? */
#define is_ri_task(tsk) (!!(tsk)->thread.ri_cb) #define is_ri_task(tsk) (!!(tsk)->thread.ri_cb)
static inline unsigned long current_stack_pointer(void) static __always_inline unsigned long current_stack_pointer(void)
{ {
unsigned long sp; unsigned long sp;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment