diff options
author | Russ Anderson <(rja@sgi.com)> | 2005-05-16 18:19:00 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-05-17 16:50:10 -0400 |
commit | 8eac3757158ccd9c6b43f44f228a5762fec33781 (patch) | |
tree | e0d9c92f95c8b004ec8a386b4e9259a0f179bc0b | |
parent | bb68c12b40c3c745381d7ce61d7b2e371f157505 (diff) |
[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>
-rw-r--r-- | include/asm-ia64/sn/sn_sal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ia64/sn/sn_sal.h b/include/asm-ia64/sn/sn_sal.h index 56d74ca76b5d..94cc5392533a 100644 --- a/include/asm-ia64/sn/sn_sal.h +++ b/include/asm-ia64/sn/sn_sal.h | |||
@@ -472,7 +472,7 @@ static inline u64 | |||
472 | ia64_sn_pod_mode(void) | 472 | ia64_sn_pod_mode(void) |
473 | { | 473 | { |
474 | struct ia64_sal_retval isrv; | 474 | struct ia64_sal_retval isrv; |
475 | SAL_CALL(isrv, SN_SAL_POD_MODE, 0, 0, 0, 0, 0, 0, 0); | 475 | SAL_CALL_REENTRANT(isrv, SN_SAL_POD_MODE, 0, 0, 0, 0, 0, 0, 0); |
476 | if (isrv.status) | 476 | if (isrv.status) |
477 | return 0; | 477 | return 0; |
478 | return isrv.v0; | 478 | return isrv.v0; |