Messages in this thread Patch in this message | | | Date | Tue, 22 Dec 2009 15:26:11 -0500 | Subject | Oops in 2.6.27.39 with latest DTrace linux port | From | Soumendu Satapathy <> |
| |
Hi,
http://lkml.org/lkml/2009/12/22/219
Attaching the patch for the above:-
--- driver/dtrace_linux.c.orig 2009-12-22 20:15:10.116371000 +0000 +++ driver/dtrace_linux.c 2009-12-22 20:17:03.248172000 +0000 @@ -1450,7 +1450,18 @@ // printk("yy: pmd=%lx\n", *pmd); return 0; } - pte = pte_offset_kernel(pmd, addr); + + if (pmd_large(*pmd)) { + pte = (pte_t *)pmd; + } + else { + + pte = pte_offset_kernel(pmd, addr); + } + + if (pte_none(*pte)) + return 0; + if (dump_tree) { printk("yy -- begin\n"); print_pte((pte_t *) pgd, 0);
- Soumendu sekhar satapathy
| |