diff options
author | Kirill Tkhai <tkhai@yandex.ru> | 2013-04-08 20:29:46 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-09 02:50:47 (GMT) |
commit | 07df841877195765d958df146f614fc7bdedd5e3 (patch) | |
tree | 9c749251ab90cd88b42f98c42e652f9b75b425b9 /arch/powerpc/boot | |
parent | 598ec971ddcf7dcb0c381230e69a39c75b7fac1a (diff) | |
download | linux-fsl-qoriq-07df841877195765d958df146f614fc7bdedd5e3.tar.xz |
sparc64: Do not save/restore interrupts in get_new_mmu_context()
get_new_mmu_context() is always called with interrupts disabled.
So it's possible to do this micro optimization.
(Also fix the comment to switch_mm, which is called in both cases)
Signed-off-by: Kirill Tkhai <tkhai@yandex.ru>
CC: David Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/powerpc/boot')
0 files changed, 0 insertions, 0 deletions