Explorar o código

[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>
Russ Anderson %!s(int64=20) %!d(string=hai) anos
pai
achega
8eac375715
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/asm-ia64/sn/sn_sal.h

+ 1 - 1
include/asm-ia64/sn/sn_sal.h

@@ -472,7 +472,7 @@ static inline u64
 ia64_sn_pod_mode(void)
 {
 	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)
 		return 0;
 	return isrv.v0;