mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 12:16:49 +07:00
x86/apic: Fix typos in comments
s/ID/IDs/ s/inr_logical_cpuidi/nr_logical_cpuids/ s/generic_processor_info()/__generic_processor_info()/ 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> Link: http://lkml.kernel.org/r/1483610083-24314-1-git-send-email-douly.fnst@cn.fujitsu.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
parent
88ba6cae15
commit
12bf98b91f
@ -2028,8 +2028,8 @@ void disconnect_bsp_APIC(int virt_wire_setup)
|
|||||||
/*
|
/*
|
||||||
* The number of allocated logical CPU IDs. Since logical CPU IDs are allocated
|
* The number of allocated logical CPU IDs. Since logical CPU IDs are allocated
|
||||||
* contiguously, it equals to current allocated max logical CPU ID plus 1.
|
* contiguously, it equals to current allocated max logical CPU ID plus 1.
|
||||||
* All allocated CPU ID should be in [0, nr_logical_cpuidi), so the maximum of
|
* All allocated CPU IDs should be in the [0, nr_logical_cpuids) range,
|
||||||
* nr_logical_cpuids is nr_cpu_ids.
|
* so the maximum of nr_logical_cpuids is nr_cpu_ids.
|
||||||
*
|
*
|
||||||
* NOTE: Reserve 0 for BSP.
|
* NOTE: Reserve 0 for BSP.
|
||||||
*/
|
*/
|
||||||
@ -2094,7 +2094,7 @@ int __generic_processor_info(int apicid, int version, bool enabled)
|
|||||||
* Since fixing handling of boot_cpu_physical_apicid requires
|
* Since fixing handling of boot_cpu_physical_apicid requires
|
||||||
* another discussion and tests on each platform, we leave it
|
* another discussion and tests on each platform, we leave it
|
||||||
* for now and here we use read_apic_id() directly in this
|
* 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 &&
|
if (disabled_cpu_apicid != BAD_APICID &&
|
||||||
disabled_cpu_apicid != read_apic_id() &&
|
disabled_cpu_apicid != read_apic_id() &&
|
||||||
|
Loading…
Reference in New Issue
Block a user