Commit 7adb37fe authored by David S. Miller's avatar David S. Miller

[SPARC64]: Don't do anything in flush_ptrace_access() on SUN4V.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6c8927c9
...@@ -124,6 +124,9 @@ void flush_ptrace_access(struct vm_area_struct *vma, struct page *page, ...@@ -124,6 +124,9 @@ void flush_ptrace_access(struct vm_area_struct *vma, struct page *page,
{ {
BUG_ON(len > PAGE_SIZE); BUG_ON(len > PAGE_SIZE);
if (tlb_type == hypervisor)
return;
#ifdef DCACHE_ALIASING_POSSIBLE #ifdef DCACHE_ALIASING_POSSIBLE
/* If bit 13 of the kernel address we used to access the /* If bit 13 of the kernel address we used to access the
* user page is the same as the virtual address that page * user page is the same as the virtual address that page
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment