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 aa37469da696..2e1b64088490 100644
--- a/arch/x86/xen/mmu.c
+++ b/arch/x86/xen/mmu.c
@@ -646,7 +646,7 @@ static spinlock_t *lock_pte(struct page *page)
646{ 646{
647 spinlock_t *ptl = NULL; 647 spinlock_t *ptl = NULL;
648 648
649#if NR_CPUS >= CONFIG_SPLIT_PTLOCK_CPUS 649#if USE_SPLIT_PTLOCKS
650 ptl = __pte_lockptr(page); 650 ptl = __pte_lockptr(page);
651 spin_lock(ptl); 651 spin_lock(ptl);
652#endif 652#endif