patch-2.3.26 linux/include/asm-sh/pgtable-2level.h

Next file: linux/include/asm-sh/pgtable.h
Previous file: linux/include/asm-sh/page.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.25/linux/include/asm-sh/pgtable-2level.h linux/include/asm-sh/pgtable-2level.h
@@ -32,7 +32,7 @@
 extern inline int pgd_none(pgd_t pgd)		{ return 0; }
 extern inline int pgd_bad(pgd_t pgd)		{ return 0; }
 extern inline int pgd_present(pgd_t pgd)	{ return 1; }
-#define pgd_clear(xp)	do { pgd_val(*(xp)) = 0; } while (0)
+#define pgd_clear(xp)	do { } while (0)
 
 #define pgd_page(pgd) \
 ((unsigned long) __va(pgd_val(pgd) & PAGE_MASK))
@@ -56,7 +56,5 @@
 		BUG();
 	return (pmd_t *) pgd;
 }
-
-#define SWP_ENTRY(type,offset) __pte((((type) << 1) | ((offset) << 8)))
 
 #endif /* __ASM_SH_PGTABLE_2LEVEL_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)