[patch] 2.6.5 SN_SAL_PRINT_ERROR is reentrant

From: Keith Owens <kaos_at_sgi.com>
Date: 2004-04-27 10:00:51
SN_SAL_PRINT_ERROR is a reentrant SAL call.

Index: linux/include/asm-ia64/sn/sn_sal.h
===================================================================
--- linux.orig/include/asm-ia64/sn/sn_sal.h	Mon Apr 26 15:20:18 2004
+++ linux/include/asm-ia64/sn/sn_sal.h	Tue Apr 27 09:55:57 2004
@@ -289,7 +289,7 @@
 	ret_stuff.v0 = 0;
 	ret_stuff.v1 = 0;
 	ret_stuff.v2 = 0;
-	SAL_CALL_NOLOCK(ret_stuff, SN_SAL_PRINT_ERROR, (uint64_t)hook, (uint64_t)rec, 0, 0, 0, 0, 0);
+	SAL_CALL_REENTRANT(ret_stuff, SN_SAL_PRINT_ERROR, (uint64_t)hook, (uint64_t)rec, 0, 0, 0, 0, 0);
 
 	return ret_stuff.status;
 }

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Apr 26 20:01:21 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:25 EST