patch-2.0.31 linux/include/asm-i386/pgtable.h
Next file: linux/include/asm-i386/shmparam.h
Previous file: linux/include/asm-i386/irq.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Wed Oct 15 15:22:05 1997
- Orig file:
v2.0.30/linux/include/asm-i386/pgtable.h
- Orig date:
Fri Mar 28 16:08:17 1997
diff -u --recursive --new-file v2.0.30/linux/include/asm-i386/pgtable.h linux/include/asm-i386/pgtable.h
@@ -375,6 +375,8 @@
free_page((unsigned long) pte);
}
+extern const char bad_pmd_string[];
+
extern inline pte_t * pte_alloc_kernel(pmd_t * pmd, unsigned long address)
{
address = (address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1);
@@ -391,7 +393,7 @@
free_page((unsigned long) page);
}
if (pmd_bad(*pmd)) {
- printk("Bad pmd in pte_alloc: %08lx\n", pmd_val(*pmd));
+ printk(bad_pmd_string, pmd_val(*pmd));
pmd_val(*pmd) = _PAGE_TABLE | (unsigned long) BAD_PAGETABLE;
return NULL;
}
@@ -444,7 +446,7 @@
}
fix:
- printk("Bad pmd in pte_alloc: %08lx\n", pmd_val(*pmd));
+ printk(bad_pmd_string, pmd_val(*pmd));
oom:
pmd_val(*pmd) = _PAGE_TABLE | (unsigned long) BAD_PAGETABLE;
return NULL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov