[PATCH] x86/apic: Replace the redundant macros with an empty stub

2018-01-16 Thread Dou Liyang
The X86_LOCAL_APIC is depended on CONFIG X86_64, that means if CONFIG_X86_64=y, the X86_LOCAL_APIC must be y too. So, using if defined(CONFIG_X86_64) || defined(CONFIG_X86_LOCAL_APIC) ... is redundant. Remove the redundant macros and add an empty stub instead. also add some comments for

[PATCH] x86/apic: Replace the redundant macros with an empty stub

2018-01-16 Thread Dou Liyang
The X86_LOCAL_APIC is depended on CONFIG X86_64, that means if CONFIG_X86_64=y, the X86_LOCAL_APIC must be y too. So, using if defined(CONFIG_X86_64) || defined(CONFIG_X86_LOCAL_APIC) ... is redundant. Remove the redundant macros and add an empty stub instead. also add some comments for