diff options
author | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-04-08 07:44:29 +0000 |
---|---|---|
committer | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-04-08 07:44:29 +0000 |
commit | 00c1798d6f3b5f532157169e07f46f4eeda05790 (patch) | |
tree | f2abd5f297397fb2936c16a9be45e9af37799180 /arch | |
parent | af596347eec59caf53877afe3b9302f8beb7b6af (diff) |
For slave nodes, make sure not to touch the lower part of their local
memory, which is used by the prom. Gets really hard to do things like
launch processors on slave nodes otherwise.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips64/sgi-ip27/ip27-memory.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/mips64/sgi-ip27/ip27-memory.c b/arch/mips64/sgi-ip27/ip27-memory.c index abd0c10e1..60881d60a 100644 --- a/arch/mips64/sgi-ip27/ip27-memory.c +++ b/arch/mips64/sgi-ip27/ip27-memory.c @@ -57,17 +57,12 @@ int numa_debug(void) */ pfn_t node_getfirstfree(cnodeid_t cnode) { -#ifdef LATER nasid_t nasid = COMPACT_TO_NASID_NODEID(cnode); if (cnode == 0) - return KDM_TO_PHYS((unsigned long)(&_end)); - return KDM_TO_PHYS(SYMMON_STK_ADDR(nasid, 0)); -#endif - if (cnode == 0) return (KDM_TO_PHYS(PAGE_ALIGN((unsigned long)(&_end)) - (CKSEG0 - K0BASE)) >> PAGE_SHIFT); - return slot_getbasepfn(cnode, 0); + return (KDM_TO_PHYS(PAGE_ALIGN(SYMMON_STK_ADDR(nasid, 0))) >> PAGE_SHIFT); } /* |