patch-2.4.27 linux-2.4.27/include/asm-sparc64/page.h
Next file: linux-2.4.27/include/asm-sparc64/pgalloc.h
Previous file: linux-2.4.27/include/asm-sparc64/mmu_context.h
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
2004-08-07 16:26:06.167408947 -0700
- Orig file:
linux-2.4.26/include/asm-sparc64/page.h
- Orig date:
2003-08-25 04:44:44.000000000 -0700
diff -urN linux-2.4.26/include/asm-sparc64/page.h linux-2.4.27/include/asm-sparc64/page.h
@@ -57,8 +57,8 @@
#define pte_val(x) ((x).pte)
#define iopte_val(x) ((x).iopte)
-#define pmd_val(x) ((unsigned long)(x).pmd)
-#define pgd_val(x) ((unsigned long)(x).pgd)
+#define pmd_val(x) ((x).pmd)
+#define pgd_val(x) ((x).pgd)
#define ctxd_val(x) ((x).ctxd)
#define pgprot_val(x) ((x).pgprot)
#define iopgprot_val(x) ((x).iopgprot)
@@ -83,8 +83,8 @@
#define pte_val(x) (x)
#define iopte_val(x) (x)
-#define pmd_val(x) ((unsigned long)(x))
-#define pgd_val(x) ((unsigned long)(x))
+#define pmd_val(x) (x)
+#define pgd_val(x) (x)
#define ctxd_val(x) (x)
#define pgprot_val(x) (x)
#define iopgprot_val(x) (x)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)