diff options
author | Hugh Dickins <hugh@veritas.com> | 2005-11-08 13:00:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-11-08 13:00:55 -0500 |
commit | da1605465ebdb9dc25296a354394086cd559c243 (patch) | |
tree | 9006bcb3c3dc0952f41b0ddf0e7119b40f48b458 /arch/sparc64 | |
parent | d5a858bc148fe97996af9cf685cc124b70519adf (diff) |
[SPARC64] mm: update get_user_insn comment
Update comment on get_user_insn to the more general "pte lock", which may
or may not be the page_table_lock. Note vmtruncate handled like kswapd.
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64')
-rw-r--r-- | arch/sparc64/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/mm/fault.c b/arch/sparc64/mm/fault.c index 31fbc67719a1..3be278d916db 100644 --- a/arch/sparc64/mm/fault.c +++ b/arch/sparc64/mm/fault.c | |||
@@ -109,7 +109,7 @@ static void bad_kernel_pc(struct pt_regs *regs) | |||
109 | * this. Additionally, to prevent kswapd from ripping ptes from | 109 | * this. Additionally, to prevent kswapd from ripping ptes from |
110 | * under us, raise interrupts around the time that we look at the | 110 | * under us, raise interrupts around the time that we look at the |
111 | * pte, kswapd will have to wait to get his smp ipi response from | 111 | * pte, kswapd will have to wait to get his smp ipi response from |
112 | * us. This saves us having to get page_table_lock. | 112 | * us. vmtruncate likewise. This saves us having to get pte lock. |
113 | */ | 113 | */ |
114 | static unsigned int get_user_insn(unsigned long tpc) | 114 | static unsigned int get_user_insn(unsigned long tpc) |
115 | { | 115 | { |