projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2416cef
)
s390: always inline current_stack_pointer()
author
Heiko Carstens
<heiko.carstens@de.ibm.com>
Wed, 30 Oct 2019 15:55:56 +0000
(16:55 +0100)
committer
Vasily Gorbik
<gor@linux.ibm.com>
Thu, 31 Oct 2019 16:20:54 +0000
(17:20 +0100)
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: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/processor.h
patch
|
blob
|
history
diff --git
a/arch/s390/include/asm/processor.h
b/arch/s390/include/asm/processor.h
index 51a0e4a2dc9618df3a05240e58c53fc36ddb5160..881fc37c11c6bf97b7491fed019b9ec42d7901dd 100644
(file)
--- a/
arch/s390/include/asm/processor.h
+++ b/
arch/s390/include/asm/processor.h
@@
-206,7
+206,7
@@
unsigned long get_wchan(struct task_struct *p);
/* Has task runtime instrumentation enabled ? */
#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;