Re: [2.6] busybox EFAULT on sparc64

From: David S. Miller
Date: Wed Aug 18 2004 - 20:47:29 EST



Oops, it's possible that the bug fixed by this patch
might fix your problem...

===== include/asm-sparc64/pgtable.h 1.42 vs edited =====
--- 1.42/include/asm-sparc64/pgtable.h 2004-08-14 22:20:36 -07:00
+++ edited/include/asm-sparc64/pgtable.h 2004-08-18 18:29:17 -07:00
@@ -335,7 +335,7 @@
pte_t orig = *ptep;

*ptep = pte;
- if (pte_present(orig))
+ if (pte_val(orig) & _PAGE_VALID)
tlb_batch_add(mm, addr, ptep, orig);
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/