提交 81fc77fb 编写于 作者: C Christian Borntraeger 提交者: Martin Schwidefsky

s390/kernel: use stnsm 255 instead of stosm 0

On some models, stnsm 255 might be slightly faster than stosm 0.
Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 032014bc
...@@ -36,7 +36,7 @@ static inline notrace void __arch_local_irq_ssm(unsigned long flags) ...@@ -36,7 +36,7 @@ static inline notrace void __arch_local_irq_ssm(unsigned long flags)
static inline notrace unsigned long arch_local_save_flags(void) static inline notrace unsigned long arch_local_save_flags(void)
{ {
return __arch_local_irq_stosm(0x00); return __arch_local_irq_stnsm(0xff);
} }
static inline notrace unsigned long arch_local_irq_save(void) static inline notrace unsigned long arch_local_irq_save(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册