patch-2.4.25 linux-2.4.25/arch/ppc64/kernel/pmc.c
Next file: linux-2.4.25/arch/ppc64/kernel/ppc_asm.h
Previous file: linux-2.4.25/arch/ppc64/kernel/perfmon.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
2004-02-18 05:36:30.000000000 -0800
- Orig file:
linux-2.4.24/arch/ppc64/kernel/pmc.c
- Orig date:
2003-08-25 04:44:40.000000000 -0700
diff -urN linux-2.4.24/arch/ppc64/kernel/pmc.c linux-2.4.25/arch/ppc64/kernel/pmc.c
@@ -74,7 +74,6 @@
page_table_lock : SPIN_LOCK_UNLOCKED};
extern spinlock_t hash_table_lock[];
-extern inline unsigned long get_lock_slot(unsigned long vpn);
char *
ppc64_pmc_stab(int file)
@@ -241,7 +240,7 @@
lock_slot = get_lock_slot(vpn);
rpn = pa >> PAGE_SHIFT;
- spin_lock(&hash_table_lock[lock_slot].lock);
+ spin_lock(&hash_table_lock[lock_slot]);
/* Get a pointer to the linux page table entry for this page
* allocating pmd or pte pages along the way as needed. Note
* that the pmd & pte pages are not themselfs bolted.
@@ -266,7 +265,7 @@
*ptep = pte;
- spin_unlock(&hash_table_lock[lock_slot].lock);
+ spin_unlock(&hash_table_lock[lock_slot]);
}
spin_unlock(&btmalloc_mm.page_table_lock);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)