diff options
-rw-r--r-- | arch/mips64/sgi-ip27/ip27-init.c | 2 | ||||
-rw-r--r-- | include/asm-mips64/sn/sn_private.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips64/sgi-ip27/ip27-init.c b/arch/mips64/sgi-ip27/ip27-init.c index b68ed3f72..65d02b7b7 100644 --- a/arch/mips64/sgi-ip27/ip27-init.c +++ b/arch/mips64/sgi-ip27/ip27-init.c @@ -42,6 +42,7 @@ int maxcpus; static spinlock_t hub_mask_lock = SPIN_LOCK_UNLOCKED; static cnodemask_t hub_init_mask; static atomic_t numstarted = ATOMIC_INIT(1); +nasid_t master_nasid = INVALID_NASID; cnodeid_t nasid_to_compact_node[MAX_NASIDS]; nasid_t compact_to_nasid_node[MAX_COMPACT_NODES]; @@ -190,6 +191,7 @@ void mlreset (void) { int i; + master_nasid = get_nasid(); fine_mode = is_fine_dirmode(); /* diff --git a/include/asm-mips64/sn/sn_private.h b/include/asm-mips64/sn/sn_private.h index bb84f16b8..780359491 100644 --- a/include/asm-mips64/sn/sn_private.h +++ b/include/asm-mips64/sn/sn_private.h @@ -1,3 +1,5 @@ +extern nasid_t master_nasid; + extern cnodeid_t get_compact_nodeid(void); extern void hub_rtc_init(cnodeid_t); extern void cpu_time_init(void); |