Skip to content

Commit

Permalink
s390/kernel: use stnsm 255 instead of stosm 0
Browse files Browse the repository at this point in the history
On some models, stnsm 255 might be slightly faster than stosm 0.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Christian Borntraeger authored and Martin Schwidefsky committed Dec 18, 2014
1 parent 032014b commit 81fc77f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/s390/include/asm/irqflags.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
return __arch_local_irq_stosm(0x00);
return __arch_local_irq_stnsm(0xff);
}

static inline notrace unsigned long arch_local_irq_save(void)
Expand Down

0 comments on commit 81fc77f

Please sign in to comment.