commit | 823df43552da39fd48a2dd74949363a1c8cf62bb | [log] [tgz] |
---|---|---|
author | Anton Blanchard <anton@samba.org> | Wed Apr 04 18:24:29 2012 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Apr 30 15:34:44 2012 +1000 |
tree | 6528a931fade61d09a5a83951906cb6dcbaf33f9 | |
parent | d14299dec74a094b0f26b0893eccf8aefdfbd007 [diff] |
powerpc: No need to save XER in a system call The XER is a volatile register so there is no need to save and restore it over a system call - zero it out in the exception stack frame instead. This should fix a 5 cycle stall of the mfxer/std seen on POWER7. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>