OSDN Git Service

x86/apic: Use lapic_is_integrated() consistently
authorDou Liyang <douly.fnst@cn.fujitsu.com>
Thu, 7 Sep 2017 08:49:21 +0000 (16:49 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 25 Sep 2017 13:19:43 +0000 (15:19 +0200)
commitae41a2a40ed4253b9e1e111df409bbecab0f9800
tree83e67a054afd3e311a4ae96b5d083a41d28e47a8
parente3cccbce146fdc61e0f7ffc4cdda2b408b23cf3a
x86/apic: Use lapic_is_integrated() consistently

lapic_is_integrated() is a wrapper around APIC_INTEGRATED(), but not used
consistently.

Replace the direct usage of APIC_INTEGRATED() and fixup a hard to read tail
comment. No functional change.

[ tglx: Made it compile and work .... ]

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-2-git-send-email-douly.fnst@cn.fujitsu.com
arch/x86/kernel/apic/apic.c