diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-17 18:07:43 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 04:13:33 -0500 |
commit | 7adb37fe80d06cbd40de9b225b12a3a9ec40b6bb (patch) | |
tree | bca7b671ad0cf49d6ef7a01c96ae3865805fec13 /arch/sparc64/kernel/ptrace.c | |
parent | 6c8927c9634e8a1bc95d5291c55205707f9fa40a (diff) |
[SPARC64]: Don't do anything in flush_ptrace_access() on SUN4V.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/ptrace.c')
-rw-r--r-- | arch/sparc64/kernel/ptrace.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/ptrace.c b/arch/sparc64/kernel/ptrace.c index 3f9746f856d2..eb93e9c52846 100644 --- a/arch/sparc64/kernel/ptrace.c +++ b/arch/sparc64/kernel/ptrace.c | |||
@@ -124,6 +124,9 @@ void flush_ptrace_access(struct vm_area_struct *vma, struct page *page, | |||
124 | { | 124 | { |
125 | BUG_ON(len > PAGE_SIZE); | 125 | BUG_ON(len > PAGE_SIZE); |
126 | 126 | ||
127 | if (tlb_type == hypervisor) | ||
128 | return; | ||
129 | |||
127 | #ifdef DCACHE_ALIASING_POSSIBLE | 130 | #ifdef DCACHE_ALIASING_POSSIBLE |
128 | /* If bit 13 of the kernel address we used to access the | 131 | /* If bit 13 of the kernel address we used to access the |
129 | * user page is the same as the virtual address that page | 132 | * user page is the same as the virtual address that page |