[IA64-SGI] Make Altix SAL call to POD reentrant

Change the SAL call for POD mode to be reentrant.
This change is SN specific.

Signed-off-by: Russ Anderson (rja@sgi.com)
Signed-off-by: Tony Luck <tony.luck@intel.com>
This commit is contained in:
Russ Anderson 2005-05-16 15:19:00 -07:00 committed by Tony Luck
parent bb68c12b40
commit 8eac375715

View File

@ -472,7 +472,7 @@ static inline u64
ia64_sn_pod_mode(void) ia64_sn_pod_mode(void)
{ {
struct ia64_sal_retval isrv; struct ia64_sal_retval isrv;
SAL_CALL(isrv, SN_SAL_POD_MODE, 0, 0, 0, 0, 0, 0, 0); SAL_CALL_REENTRANT(isrv, SN_SAL_POD_MODE, 0, 0, 0, 0, 0, 0, 0);
if (isrv.status) if (isrv.status)
return 0; return 0;
return isrv.v0; return isrv.v0;