patch-2.3.50 linux/include/asm-sh/page.h
Next file: linux/include/asm-sh/pci.h
Previous file: linux/include/asm-sh/msgbuf.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Mar 5 09:33:55 2000
- Orig file:
v2.3.49/linux/include/asm-sh/page.h
- Orig date:
Wed Feb 16 17:03:52 2000
diff -u --recursive --new-file v2.3.49/linux/include/asm-sh/page.h linux/include/asm-sh/page.h
@@ -19,6 +19,7 @@
#define PAGE_SHIFT 12
#define PAGE_SIZE (1UL << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE-1))
+#define PTE_MASK PAGE_MASK
#ifdef __KERNEL__
#ifndef __ASSEMBLY__
@@ -39,6 +40,9 @@
#define pgd_val(x) ((x).pgd)
#define pgprot_val(x) ((x).pgprot)
+#define __pte(x) ((pte_t) { (x) } )
+#define __pmd(x) ((pmd_t) { (x) } )
+#define __pgd(x) ((pgd_t) { (x) } )
#define __pgprot(x) ((pgprot_t) { (x) } )
#endif /* !__ASSEMBLY__ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)