aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDean Roe <roe@sgi.com>2005-10-03 11:51:45 -0500
committerTony Luck <tony.luck@intel.com>2005-10-04 09:28:00 -0700
commit36735554571ea619e38210a20f429798de90adc1 (patch)
tree988510f4132ecdadcabc666931e8d428af754a51
parented39f731ab2e77e58122232f6e27333331d7793d (diff)
downloadkernel_samsung_smdk4412-36735554571ea619e38210a20f429798de90adc1.tar.gz
kernel_samsung_smdk4412-36735554571ea619e38210a20f429798de90adc1.tar.bz2
kernel_samsung_smdk4412-36735554571ea619e38210a20f429798de90adc1.zip
[IA64-SGI] Remove references to the SN bist_lock
Remove all references to the bist_lock in the SN code as it is not used for anything. Signed-off-by: Dean Roe <roe@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
-rw-r--r--include/asm-ia64/sn/nodepda.h1
-rw-r--r--include/asm-ia64/sn/sn_sal.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-ia64/sn/nodepda.h b/include/asm-ia64/sn/nodepda.h
index 47bb8100fd0..6f6d69e39ff 100644
--- a/include/asm-ia64/sn/nodepda.h
+++ b/include/asm-ia64/sn/nodepda.h
@@ -55,7 +55,6 @@ struct nodepda_s {
*/
struct phys_cpuid phys_cpuid[NR_CPUS];
spinlock_t ptc_lock ____cacheline_aligned_in_smp;
- spinlock_t bist_lock;
};
typedef struct nodepda_s nodepda_t;
diff --git a/include/asm-ia64/sn/sn_sal.h b/include/asm-ia64/sn/sn_sal.h
index fea35b33d4e..33aa4043f87 100644
--- a/include/asm-ia64/sn/sn_sal.h
+++ b/include/asm-ia64/sn/sn_sal.h
@@ -694,12 +694,10 @@ sn_change_memprotect(u64 paddr, u64 len, u64 perms, u64 *nasid_array)
unsigned long irq_flags;
cnodeid = nasid_to_cnodeid(get_node_number(paddr));
- // spin_lock(&NODEPDA(cnodeid)->bist_lock);
local_irq_save(irq_flags);
ia64_sal_oemcall_nolock(&ret_stuff, SN_SAL_MEMPROTECT, paddr, len,
(u64)nasid_array, perms, 0, 0, 0);
local_irq_restore(irq_flags);
- // spin_unlock(&NODEPDA(cnodeid)->bist_lock);
return ret_stuff.status;
}
#define SN_MEMPROT_ACCESS_CLASS_0 0x14a080