mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/tglx/linux-2.6-x86
* ssh://master.kernel.org/pub/scm/linux/kernel/git/tglx/linux-2.6-x86: (33 commits) x86: convert cpuinfo_x86 array to a per_cpu array x86: introduce frame_pointer() and stack_pointer() x86 & generic: change to __builtin_prefetch() i386: do not BUG_ON() when MSR is unknown x86: acpi use cpu_physical_id x86: convert cpu_llc_id to be a per cpu variable x86: convert cpu_to_apicid to be a per cpu variable i386: introduce "used_vectors" bitmap which can be used to reserve vectors. x86: use raw locks during oopses x86: honor _PAGE_PSE bit on page walks i386: do cpuid_device_create() in CPU_UP_PREPARE instead of CPU_ONLINE. x86: implement missing x86_64 function smp_call_function_mask() x86: use descriptor's functions instead of inline assembly i386: consolidate show_regs and show_registers for i386 i386: make callgraph use dump_trace() on i386/x86_64 x86: enable iommu_merge by default i386: i386 add AMD64 Barcelona PMU MSR definitions to msr.h x86: Unify i386 and x86-64 early quirks x86: enable HPET on ICH3 and ICH4 x86: force enable HPET on VT8235/8237 chipsets ... Manually fix trivial conflict with task pid container helper changes in arch/x86/kernel/process_32.c
This commit is contained in:
commit
60812a4a99
97 changed files with 754 additions and 700 deletions
|
|
@ -150,7 +150,7 @@ static struct coretemp_data *coretemp_update_device(struct device *dev)
|
|||
static int __devinit coretemp_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct coretemp_data *data;
|
||||
struct cpuinfo_x86 *c = &(cpu_data)[pdev->id];
|
||||
struct cpuinfo_x86 *c = &cpu_data(pdev->id);
|
||||
int err;
|
||||
u32 eax, edx;
|
||||
|
||||
|
|
@ -359,7 +359,7 @@ static int __init coretemp_init(void)
|
|||
struct pdev_entry *p, *n;
|
||||
|
||||
/* quick check if we run Intel */
|
||||
if (cpu_data[0].x86_vendor != X86_VENDOR_INTEL)
|
||||
if (cpu_data(0).x86_vendor != X86_VENDOR_INTEL)
|
||||
goto exit;
|
||||
|
||||
err = platform_driver_register(&coretemp_driver);
|
||||
|
|
@ -367,7 +367,7 @@ static int __init coretemp_init(void)
|
|||
goto exit;
|
||||
|
||||
for_each_online_cpu(i) {
|
||||
struct cpuinfo_x86 *c = &(cpu_data)[i];
|
||||
struct cpuinfo_x86 *c = &cpu_data(i);
|
||||
|
||||
/* check if family 6, models e, f, 16 */
|
||||
if ((c->cpuid_level < 0) || (c->x86 != 0x6) ||
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@ static u8 find_vrm(u8 eff_family, u8 eff_model, u8 eff_stepping, u8 vendor)
|
|||
|
||||
u8 vid_which_vrm(void)
|
||||
{
|
||||
struct cpuinfo_x86 *c = cpu_data;
|
||||
struct cpuinfo_x86 *c = &cpu_data(0);
|
||||
u32 eax;
|
||||
u8 eff_family, eff_model, eff_stepping, vrm_ret;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue