diff options
author | Tony Luck <tony.luck@intel.com> | 2005-10-28 13:24:06 -0700 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-10-28 13:24:06 -0700 |
commit | a1e78db3f54d3481726ed2d3d58d8ad5b19b13d0 (patch) | |
tree | 5793f26d8787ee8462a0ac4316b4a07d7cfa04af /include/asm-ia64/sn/sn_sal.h | |
parent | fbbb0bd1f6eb2d8b28d246a4821453bdc3d01b2f (diff) | |
parent | 59c422358d6573716f2bf2e78e5b12c20eff5a31 (diff) |
Pull define-node-cleanup into release branch
Diffstat (limited to 'include/asm-ia64/sn/sn_sal.h')
-rw-r--r-- | include/asm-ia64/sn/sn_sal.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/include/asm-ia64/sn/sn_sal.h b/include/asm-ia64/sn/sn_sal.h index 92df48a0412..81af4e51afa 100644 --- a/include/asm-ia64/sn/sn_sal.h +++ b/include/asm-ia64/sn/sn_sal.h @@ -206,26 +206,16 @@ ia64_sn_get_master_baseio_nasid(void) return ret_stuff.v0; } -static inline char * +static inline void * ia64_sn_get_klconfig_addr(nasid_t nasid) { struct ia64_sal_retval ret_stuff; - int cnodeid; - cnodeid = nasid_to_cnodeid(nasid); ret_stuff.status = 0; ret_stuff.v0 = 0; ret_stuff.v1 = 0; ret_stuff.v2 = 0; SAL_CALL(ret_stuff, SN_SAL_GET_KLCONFIG_ADDR, (u64)nasid, 0, 0, 0, 0, 0, 0); - - /* - * We should panic if a valid cnode nasid does not produce - * a klconfig address. - */ - if (ret_stuff.status != 0) { - panic("ia64_sn_get_klconfig_addr: Returned error %lx\n", ret_stuff.status); - } return ret_stuff.v0 ? __va(ret_stuff.v0) : NULL; } |