summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKanoj Sarcar <kanoj@engr.sgi.com>2000-06-06 20:36:09 +0000
committerKanoj Sarcar <kanoj@engr.sgi.com>2000-06-06 20:36:09 +0000
commitae7b68de40ce4d1933c7e0766d2f01e9babc4be8 (patch)
tree0f383e878392e3cc8531246cd0c96de1a032a314 /include
parentaae5af617aadd61a78efcc6f8d326477af081676 (diff)
Get some type definitions into their rightful places for wider usage.
Diffstat (limited to 'include')
-rw-r--r--include/asm-mips64/addrspace.h2
-rw-r--r--include/asm-mips64/sn/types.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-mips64/addrspace.h b/include/asm-mips64/addrspace.h
index 1591e1071..90c33a22a 100644
--- a/include/asm-mips64/addrspace.h
+++ b/include/asm-mips64/addrspace.h
@@ -109,4 +109,6 @@
#define PHYS_TO_COMPATK1(x) ((x) | COMPAT_K1BASE32) /* 32-bit compat k1 */
#endif
+#define KDM_TO_PHYS(x) ((x) & TO_PHYS_MASK)
+
#endif /* _ASM_ADDRSPACE_H */
diff --git a/include/asm-mips64/sn/types.h b/include/asm-mips64/sn/types.h
index c3905ad24..40aced527 100644
--- a/include/asm-mips64/sn/types.h
+++ b/include/asm-mips64/sn/types.h
@@ -21,6 +21,7 @@ typedef signed char partid_t; /* partition ID type */
typedef signed short moduleid_t; /* user-visible module number type */
typedef signed short cmoduleid_t; /* kernel compact module id type */
typedef unsigned char clusterid_t; /* Clusterid of the cell */
+typedef unsigned long pfn_t;
typedef dev_t vertex_hdl_t; /* hardware graph vertex handle */