diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-17 15:07:43 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 01:13:33 -0800 |
commit | 7adb37fe80d06cbd40de9b225b12a3a9ec40b6bb (patch) | |
tree | bca7b671ad0cf49d6ef7a01c96ae3865805fec13 /arch | |
parent | 6c8927c9634e8a1bc95d5291c55205707f9fa40a (diff) | |
download | linux-7adb37fe80d06cbd40de9b225b12a3a9ec40b6bb.tar.bz2 |
[SPARC64]: Don't do anything in flush_ptrace_access() on SUN4V.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-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, { BUG_ON(len > PAGE_SIZE); + if (tlb_type == hypervisor) + return; + #ifdef DCACHE_ALIASING_POSSIBLE /* If bit 13 of the kernel address we used to access the * user page is the same as the virtual address that page |