s390/kernel: use stnsm 255 instead of stosm 0
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 16 Dec 2014 09:25:37 +0000 (10:25 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 18 Dec 2014 12:37:15 +0000 (13:37 +0100)
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>
arch/s390/include/asm/irqflags.h

index 37b9091..16aa0c7 100644 (file)
@@ -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)