patch-2.3.45 linux/include/asm-i386/pgtable.h
Next file: linux/include/asm-ia64/dma.h
Previous file: linux/include/asm-arm/softirq.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Sun Feb 13 19:04:10 2000
- Orig file:
v2.3.44/linux/include/asm-i386/pgtable.h
- Orig date:
Sat Feb 12 11:22:11 2000
diff -u --recursive --new-file v2.3.44/linux/include/asm-i386/pgtable.h linux/include/asm-i386/pgtable.h
@@ -26,6 +26,7 @@
#define flush_cache_page(vma, vmaddr) do { } while (0)
#define flush_page_to_ram(page) do { } while (0)
#define flush_icache_range(start, end) do { } while (0)
+#define flush_icache_page(vma,pg) do { } while (0)
#define __flush_tlb() \
do { \
@@ -292,10 +293,11 @@
((unsigned long) __va(pmd_val(pmd) & PAGE_MASK))
/* to find an entry in a page-table-directory. */
-#define __pgd_offset(address) \
- ((address >> PGDIR_SHIFT) & (PTRS_PER_PGD-1))
+#define pgd_index(address) ((address >> PGDIR_SHIFT) & (PTRS_PER_PGD-1))
-#define pgd_offset(mm, address) ((mm)->pgd+__pgd_offset(address))
+#define __pgd_offset(address) pgd_index(address)
+
+#define pgd_offset(mm, address) ((mm)->pgd+pgd_index(address))
/* to find an entry in a kernel page-table-directory */
#define pgd_offset_k(address) pgd_offset(&init_mm, address)
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen (who was at: [email protected])