patch-2.4.4 linux/include/asm-arm/pgtable.h
Next file: linux/include/asm-arm/proc-armo/cache.h
Previous file: linux/include/asm-arm/pgalloc.h
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
Thu Apr 12 12:20:31 2001
- Orig file:
v2.4.3/linux/include/asm-arm/pgtable.h
- Orig date:
Tue Mar 6 19:44:35 2001
diff -u --recursive --new-file v2.4.3/linux/include/asm-arm/pgtable.h linux/include/asm-arm/pgtable.h
@@ -1,7 +1,7 @@
/*
* linux/include/asm-arm/pgtable.h
*
- * Copyright (C) 2000 Russell King
+ * Copyright (C) 2000-2001 Russell King
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -75,12 +75,6 @@
extern struct page *empty_zero_page;
#define ZERO_PAGE(vaddr) (empty_zero_page)
-/*
- * Handling allocation failures during page table setup.
- */
-extern void __handle_bad_pmd(pmd_t *pmd);
-extern void __handle_bad_pmd_kernel(pmd_t *pmd);
-
#define pte_none(pte) (!pte_val(pte))
#define pte_clear(ptep) set_pte((ptep), __pte(0))
@@ -98,6 +92,7 @@
#endif
#define pmd_none(pmd) (!pmd_val(pmd))
+#define pmd_present(pmd) (pmd_val(pmd))
#define pmd_clear(pmdp) set_pmd(pmdp, __pmd(0))
/*
@@ -163,8 +158,6 @@
}
extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
-
-#define update_mmu_cache(vma,address,pte) do { } while (0)
/* Encode and decode a swap entry.
*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)