[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <b3eb0ed40912221226o56e4de26oc3119f3b0a946548@mail.gmail.com>
Date: Tue, 22 Dec 2009 15:26:11 -0500
From: Soumendu Satapathy <satapathy.soumendu@...il.com>
To: linux-kernel@...r.kernel.org
Subject: Oops in 2.6.27.39 with latest DTrace linux port
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
Powered by blists - more mailing lists