]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
arch/x86/mm/pat.c: use boot_cpu_has()
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 14 May 2008 23:10:39 +0000 (16:10 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 25 May 2008 06:50:25 +0000 (08:50 +0200)
commit46dd98a5c0b907f94742579ab605be1933a37abd
treeb56a6c95c66f1a83c90811c6c659c46cea7f296e
parent873b274a41c0cfe58b2eb0a7722424eb367b905b
arch/x86/mm/pat.c: use boot_cpu_has()

arch/x86/mm/pat.c: In function 'phys_mem_access_prot_allowed':
arch/x86/mm/pat.c:526: warning: passing argument 2 of 'constant_test_bit' from incompatible pointer type
arch/x86/mm/pat.c:526: warning: passing argument 2 of 'variable_test_bit' from incompatible pointer type
arch/x86/mm/pat.c:527: warning: passing argument 2 of 'constant_test_bit' from incompatible pointer type
arch/x86/mm/pat.c:527: warning: passing argument 2 of 'variable_test_bit' from incompatible pointer type
arch/x86/mm/pat.c:528: warning: passing argument 2 of 'constant_test_bit' from incompatible pointer type
arch/x86/mm/pat.c:528: warning: passing argument 2 of 'variable_test_bit' from incompatible pointer type
arch/x86/mm/pat.c:529: warning: passing argument 2 of 'constant_test_bit' from incompatible pointer type
arch/x86/mm/pat.c:529: warning: passing argument 2 of 'variable_test_bit' from incompatible pointer type

Don't open-code test_bit() on a __u32

Cc: Andrea Arcangeli <andrea@qumranet.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/pat.c