commit | 204ee2c5643199a25181ec04ea645d00709c2a5a | [log] [tgz] |
---|---|---|
author | Christian Borntraeger <borntraeger@de.ibm.com> | Mon Jan 11 09:17:18 2016 +0100 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Tue Jan 19 12:14:01 2016 +0100 |
tree | 805f6c767221ddf0813be23a9b05829429ec60bc | |
parent | a9d7ab97812cf2cf9fd7c980205ae35f58c52cf5 [diff] |
s390/irqflags: optimize irq restore The ssm instruction takes longer that stnsm/stosm as it is often used to modify DAT and PER. We know that irqsave/irqrestore only deals with external and I/O interrupts and we know that irqrestore can transition only from disabled->disabled or disabled->enabled, so we can use the faster stosm. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>