x86/apic: Remove the SET_APIC_ID(x) macro
authorDou Liyang <douly.fnst@cn.fujitsu.com>
Wed, 8 Mar 2017 11:07:50 +0000 (19:07 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 13 Mar 2017 20:28:38 +0000 (21:28 +0100)
commit5d64d209c4f672e221ea304106b30793f10d95a4
tree6c57dde0f673afd4122bf9fef087756b1f3fc84a
parent4495c08e84729385774601b5146d51d9e5849f81
x86/apic: Remove the SET_APIC_ID(x) macro

The SET_APIC_ID() macro obfusates the code. Remove it to increase
readability and add a comment to the apic struct to document that the
callback is required on 64-bit.

Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Link: http://lkml.kernel.org/r/1488971270-14359-1-git-send-email-douly.fnst@cn.fujitsu.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/apic.h
arch/x86/kernel/apic/apic.c