]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf7040419b2e96be63da124e97736dc100a883a54
tree6c57dde0f673afd4122bf9fef087756b1f3fc84a
parentb925dc0fa3cd58cb6756a936c80f94f655a27964
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