]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/xen/mmu.c
Merge branch 'core/xen' into x86/xen
[linux-2.6-omap-h63xx.git] / arch / x86 / xen / mmu.c
index f5af913fd7b0b6f0c50c0424be067d7bf36f9af3..64e58681767e5597fc1fad21860f0973505d2dc9 100644 (file)
@@ -746,7 +746,7 @@ static spinlock_t *xen_pte_lock(struct page *page)
 {
        spinlock_t *ptl = NULL;
 
-#if NR_CPUS >= CONFIG_SPLIT_PTLOCK_CPUS
+#if USE_SPLIT_PTLOCKS
        ptl = __pte_lockptr(page);
        spin_lock(ptl);
 #endif