]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[IA64] change sh_change_coherence oemcall to use nolock
authorDean Nelson <dcn@sgi.com>
Tue, 19 Jun 2007 11:26:17 +0000 (06:26 -0500)
committerTony Luck <tony.luck@intel.com>
Tue, 26 Jun 2007 20:33:58 +0000 (13:33 -0700)
Change sn_change_coherence's ia64_sal_oemcall to the nolock variety since
PROM does the locking for this function internally.

Signed-off-by: Dean Nelson <dcn@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
include/asm-ia64/sn/sn_sal.h

index 291e8ceed6e6ddddfdbcd2060aa97f0eb914aba9..d3566a298fa40b773a96d3518e1fd1f71782eec0 100644 (file)
@@ -696,8 +696,8 @@ static inline int
 sn_change_coherence(u64 *new_domain, u64 *old_domain)
 {
        struct ia64_sal_retval ret_stuff;
-       ia64_sal_oemcall(&ret_stuff, SN_SAL_COHERENCE, (u64)new_domain,
-                        (u64)old_domain, 0, 0, 0, 0, 0);
+       ia64_sal_oemcall_nolock(&ret_stuff, SN_SAL_COHERENCE, (u64)new_domain,
+                               (u64)old_domain, 0, 0, 0, 0, 0);
        return ret_stuff.status;
 }