aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/xen')
-rw-r--r--arch/x86/xen/mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c
index f5af913fd7b0..64e58681767e 100644
--- a/arch/x86/xen/mmu.c
+++ b/arch/x86/xen/mmu.c
@@ -746,7 +746,7 @@ static spinlock_t *xen_pte_lock(struct page *page)
746{ 746{
747 spinlock_t *ptl = NULL; 747 spinlock_t *ptl = NULL;
748 748
749#if NR_CPUS >= CONFIG_SPLIT_PTLOCK_CPUS 749#if USE_SPLIT_PTLOCKS
750 ptl = __pte_lockptr(page); 750 ptl = __pte_lockptr(page);
751 spin_lock(ptl); 751 spin_lock(ptl);
752#endif 752#endif