]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
mm: define USE_SPLIT_PTLOCKS rather than repeating expression
authorJeremy Fitzhardinge <jeremy@goop.org>
Tue, 9 Sep 2008 22:43:22 +0000 (15:43 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 10 Sep 2008 12:04:59 +0000 (14:04 +0200)
commitf7d0b926ac8c8ec0c7a83ee69409bd2e6bb39f81
treec5d6c99368dbe769c5a7ee9a00843d2745191f68
parentadee14b2e1557d0a8559f29681732d05a89dfc35
mm: define USE_SPLIT_PTLOCKS rather than repeating expression

Define USE_SPLIT_PTLOCKS as a constant expression rather than repeating
"NR_CPUS >= CONFIG_SPLIT_PTLOCK_CPUS" all over the place.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Acked-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/xen/mmu.c
include/linux/mm.h
include/linux/mm_types.h
include/linux/sched.h