Messages in this thread Patch in this message | | | Date | Wed, 24 Sep 2008 20:46:21 +0400 | From | Cyrill Gorcunov <> | Subject | [patch 3/3] x86: apic - remove dead ifdef from lapic_is_integrated |
| |
We already have #ifdef in apicdef.h which depends on cpu type so no need to re-introduce it.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> ---
Index: linux-2.6.git/arch/x86/kernel/apic.c =================================================================== --- linux-2.6.git.orig/arch/x86/kernel/apic.c 2008-09-24 19:33:31.000000000 +0400 +++ linux-2.6.git/arch/x86/kernel/apic.c 2008-09-24 20:25:05.000000000 +0400 @@ -167,11 +167,7 @@ static unsigned long apic_phys; */ static inline int lapic_is_integrated(void) { -#ifdef CONFIG_X86_64 - return 1; -#else return APIC_INTEGRATED(lapic_get_version()); -#endif } /* --
| |