mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-10 00:26:34 +00:00
x86, cleanup: Remove obsolete boot_cpu_id variable
boot_cpu_id is there for historical reasons and was renamed to
boot_cpu_physical_apicid in patch:
c70dcb7
x86: change boot_cpu_id to boot_cpu_physical_apicid
However, there are some remaining occurrences of boot_cpu_id that are
never touched in the kernel and thus its value is always 0.
This patch removes boot_cpu_id completely.
Signed-off-by: Robert Richter <robert.richter@amd.com>
LKML-Reference: <1279731838-1522-8-git-send-email-robert.richter@amd.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
parent
ad41a1e0ca
commit
f6e9456c92
11 changed files with 15 additions and 18 deletions
|
@ -84,7 +84,7 @@ static int __init reboot_setup(char *str)
|
|||
}
|
||||
/* we will leave sorting out the final value
|
||||
when we are ready to reboot, since we might not
|
||||
have set up boot_cpu_id or smp_num_cpu */
|
||||
have detected BSP APIC ID or smp_num_cpu */
|
||||
break;
|
||||
#endif /* CONFIG_SMP */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue