x86/cpu: Remove unused and undefined __generic_processor_info() declaration
The following revert:
2b85b3d229
("x86/acpi: Restore the order of CPU IDs")
... got rid of __generic_processor_info(), but forgot to remove its
declaration in mpspec.h.
Remove the declaration and update the comments as well.
Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: lenb@kernel.org
Link: http://lkml.kernel.org/r/1505101403-29100-1-git-send-email-douly.fnst@cn.fujitsu.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
此提交包含在:
@@ -2130,7 +2130,7 @@ int generic_processor_info(int apicid, int version)
|
||||
* Since fixing handling of boot_cpu_physical_apicid requires
|
||||
* another discussion and tests on each platform, we leave it
|
||||
* for now and here we use read_apic_id() directly in this
|
||||
* function, __generic_processor_info().
|
||||
* function, generic_processor_info().
|
||||
*/
|
||||
if (disabled_cpu_apicid != BAD_APICID &&
|
||||
disabled_cpu_apicid != read_apic_id() &&
|
||||
|
新增問題並參考
封鎖使用者