]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/xen/mmu.c
mm: define USE_SPLIT_PTLOCKS rather than repeating expression
[linux-2.6-omap-h63xx.git] / arch / x86 / xen / mmu.c
index aa37469da69691cba0eca23089a517dcab26351a..2e1b6408849019d8a24ef7e45f18136f55c902bc 100644 (file)
@@ -646,7 +646,7 @@ static spinlock_t *lock_pte(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