git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
598ec97
)
sparc64: Do not save/restore interrupts in get_new_mmu_context()
author
Kirill Tkhai
<tkhai@yandex.ru>
Mon, 8 Apr 2013 20:29:46 +0000
(
00:29
+0400)
committer
David S. Miller
<davem@davemloft.net>
Tue, 9 Apr 2013 02:50:47 +0000
(22:50 -0400)
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>
No differences found