diff options
| -rw-r--r-- | include/asm-ia64/sn/sn_sal.h | 4 |
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 @@ | |||
| 8 | * License. See the file "COPYING" in the main directory of this archive | 8 | * License. See the file "COPYING" in the main directory of this archive |
| 9 | * for more details. | 9 | * for more details. |
| 10 | * | 10 | * |
| 11 | * Copyright (c) 2000-2005 Silicon Graphics, Inc. All rights reserved. | 11 | * Copyright (c) 2000-2006 Silicon Graphics, Inc. All rights reserved. |
| 12 | */ | 12 | */ |
| 13 | 13 | ||
| 14 | 14 | ||
| @@ -705,10 +705,8 @@ static inline int | |||
| 705 | sn_change_memprotect(u64 paddr, u64 len, u64 perms, u64 *nasid_array) | 705 | sn_change_memprotect(u64 paddr, u64 len, u64 perms, u64 *nasid_array) |
| 706 | { | 706 | { |
| 707 | struct ia64_sal_retval ret_stuff; | 707 | struct ia64_sal_retval ret_stuff; |
| 708 | int cnodeid; | ||
| 709 | unsigned long irq_flags; | 708 | unsigned long irq_flags; |
| 710 | 709 | ||
| 711 | cnodeid = nasid_to_cnodeid(get_node_number(paddr)); | ||
| 712 | local_irq_save(irq_flags); | 710 | local_irq_save(irq_flags); |
| 713 | ia64_sal_oemcall_nolock(&ret_stuff, SN_SAL_MEMPROTECT, paddr, len, | 711 | ia64_sal_oemcall_nolock(&ret_stuff, SN_SAL_MEMPROTECT, paddr, len, |
| 714 | (u64)nasid_array, perms, 0, 0, 0); | 712 | (u64)nasid_array, perms, 0, 0, 0); |
