[patch 2.6.10-rc1] Do not disable interrupts in ia64_sn_plat_specific_err_print

From: Keith Owens <kaos_at_sgi.com>
Date: 2004-11-03 11:59:18
ia64_sn_plat_specific_err_print() ends up calling vfree() which
requires IPI which can deadlock if interrupts are disabled.  Do not
disable interrupts in ia64_sn_plat_specific_err_print().

Signed-off-by: Keith Owens <kaos@sgi.com>

Index: linux/include/asm-ia64/sn/sn_sal.h
===================================================================
--- linux.orig/include/asm-ia64/sn/sn_sal.h	Wed Nov  3 11:02:27 2004
+++ linux/include/asm-ia64/sn/sn_sal.h	Wed Nov  3 11:54:21 2004
@@ -313,7 +313,7 @@ ia64_sn_plat_specific_err_print(int (*ho
 	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 Tue Nov 2 20:03:01 2004

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