mirror of
https://github.com/joel16/android_kernel_sony_msm8994_rework.git
synced 2024-12-27 22:46:57 +00:00
[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:
parent
bb68c12b40
commit
8eac375715
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user