mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 09:46:50 +07:00
x86/apic: Remove duplicate X86_64 conditional in lapic_is_integrated()
The macro APIC_INTEGRATED(x) is already wrapped by CONFIG_X86_32. So it can be invoked unconditionally. Remove the extra "#ifdef CONFIG_X86_64...". No functional change. Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: bhe@redhat.com Link: https://lkml.kernel.org/r/1504774161-7137-1-git-send-email-douly.fnst@cn.fujitsu.com
This commit is contained in:
parent
b371ae0d4a
commit
e3cccbce14
@ -211,11 +211,7 @@ static inline int lapic_get_version(void)
|
||||
*/
|
||||
static inline int lapic_is_integrated(void)
|
||||
{
|
||||
#ifdef CONFIG_X86_64
|
||||
return 1;
|
||||
#else
|
||||
return APIC_INTEGRATED(lapic_get_version());
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user