summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64
diff options
context:
space:
mode:
authorRuss Anderson <rja@efs.americas.sgi.com>2006-04-18 11:26:34 -0500
committerTony Luck <tony.luck@intel.com>2006-04-20 10:14:56 -0700
commit308a878210cde6ab19df9f392c24db53ad6f56bf (patch)
tree091a5b8198dcb083adbd1d8e351cdf09094391df /include/asm-ia64
parentcbf283c048798ada7e062892b21de85fb5727243 (diff)
downloadblackbird-op-linux-308a878210cde6ab19df9f392c24db53ad6f56bf.tar.gz
blackbird-op-linux-308a878210cde6ab19df9f392c24db53ad6f56bf.zip
[IA64] Remove unused variable in sn_sal.h
cnodeid was being set but not used. The dead code was left over from a previous version that grabbed a per node lock. Signed-off-by: Russ Anderson (rja@sgi.com) Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/asm-ia64')
-rw-r--r--include/asm-ia64/sn/sn_sal.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/asm-ia64/sn/sn_sal.h b/include/asm-ia64/sn/sn_sal.h
index bf4cc867a698..7ddce80e1918 100644
--- a/include/asm-ia64/sn/sn_sal.h
+++ b/include/asm-ia64/sn/sn_sal.h
@@ -8,7 +8,7 @@
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
- * Copyright (c) 2000-2005 Silicon Graphics, Inc. All rights reserved.
+ * Copyright (c) 2000-2006 Silicon Graphics, Inc. All rights reserved.
*/
@@ -705,10 +705,8 @@ static inline int
sn_change_memprotect(u64 paddr, u64 len, u64 perms, u64 *nasid_array)
{
struct ia64_sal_retval ret_stuff;
- int cnodeid;
unsigned long irq_flags;
- cnodeid = nasid_to_cnodeid(get_node_number(paddr));
local_irq_save(irq_flags);
ia64_sal_oemcall_nolock(&ret_stuff, SN_SAL_MEMPROTECT, paddr, len,
(u64)nasid_array, perms, 0, 0, 0);
OpenPOWER on IntegriCloud