summaryrefslogtreecommitdiffstats
path: root/arch/mips64/sgi-ip27/ip27-memory.c
diff options
context:
space:
mode:
authorKanoj Sarcar <kanoj@engr.sgi.com>2000-02-10 07:28:35 +0000
committerKanoj Sarcar <kanoj@engr.sgi.com>2000-02-10 07:28:35 +0000
commitccd309e0011c2343f720b04f2b3fa2b1c2b3e530 (patch)
tree39df413f3b162ba9ca13ad11cfee09f38c7064bf /arch/mips64/sgi-ip27/ip27-memory.c
parent1f41140cdc718accc9b0eb15fda56c9aa3ce3025 (diff)
Header file cleanup: put basic defines into sn/arch.h.
Diffstat (limited to 'arch/mips64/sgi-ip27/ip27-memory.c')
-rw-r--r--arch/mips64/sgi-ip27/ip27-memory.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/mips64/sgi-ip27/ip27-memory.c b/arch/mips64/sgi-ip27/ip27-memory.c
index 6b50860e3..cbbea5709 100644
--- a/arch/mips64/sgi-ip27/ip27-memory.c
+++ b/arch/mips64/sgi-ip27/ip27-memory.c
@@ -30,13 +30,6 @@
typedef unsigned long pfn_t; /* into <asm/sn/types.h> */
#define KDM_TO_PHYS(x) ((x) & TO_PHYS_MASK) /* into asm/addrspace.h */
-#define SLOT_PFNSHIFT (SLOT_SHIFT - PAGE_SHIFT) /* into asm/sn/arch.h */
-#define PFN_NASIDSHFT (NASID_SHFT - PAGE_SHIFT)
-#define mkpfn(nasid, off) (((pfn_t)(nasid) << PFN_NASIDSHFT) | (off))
-#define slot_getbasepfn(node,slot) \
- (mkpfn(COMPACT_TO_NASID_NODEID(node), slot<<SLOT_PFNSHIFT))
-extern nasid_t compact_to_nasid_node[];
-
extern char _end;
#define PFN_UP(x) (((x) + PAGE_SIZE-1) >> PAGE_SHIFT)