]> git.karo-electronics.de Git - mv-sheeva.git/commit
x86, xsave: 32/64 bit boot cpu check unification in initialization
authorRobert Richter <robert.richter@amd.com>
Tue, 20 Jul 2010 18:50:49 +0000 (20:50 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 20 Jul 2010 23:21:38 +0000 (16:21 -0700)
commitdb10db48b2c530def21bfd76d576702c7df7f620
treea02382cb102d45ca6d286fcf219074e3049ed5fa
parent7aa2b5f8ec60505160df1c25398e8286c8432689
x86, xsave: 32/64 bit boot cpu check unification in initialization

Boot cpu id is always 0, thus simplifying and unifying boot cpu check.

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.

Signed-off-by: Robert Richter <robert.richter@amd.com>
LKML-Reference: <1279651857-24639-3-git-send-email-robert.richter@amd.com>
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/cpu/common.c