#include <linux/mman.h>
#include <linux/nodemask.h>
#include <linux/ioport.h>
-#include <linux/lttlite-events.h>
#include <asm/cputype.h>
#include <asm/mach-types.h>
if (current->mm && current->mm->pgd)
pgd = current->mm->pgd;
+#if 0
else
pgd = init_mm.pgd;
+#else
+ else
+ {
+ struct mm_struct *initmm = (struct mm_struct *)0xc05672a0;
+ pgd = initmm->pgd;
+ }
+#warning FIXME init_mm is no longer exported
+#endif
base_pmdval = PMD_SECT_AP_WRITE | PMD_SECT_AP_READ | PMD_TYPE_SECT;