acpi.c (0bbdb4258bd116d8cd5d209e8d5b29bae516e5b3) | acpi.c (5d2068da8d339e4dff8f9b9a1246e6a79e2949d8) |
---|---|
1/* 2 * acpi.c - Architecture-Specific Low-Level ACPI Support 3 * 4 * Copyright (C) 1999 VA Linux Systems 5 * Copyright (C) 1999,2000 Walt Drummond <drummond@valinux.com> 6 * Copyright (C) 2000, 2002-2003 Hewlett-Packard Co. 7 * David Mosberger-Tang <davidm@hpl.hp.com> 8 * Copyright (C) 2000 Intel Corp. --- 469 unchanged lines hidden (view full) --- 478 479 /* record this node in proximity bitmap */ 480 pxm_bit_set(pxm); 481 482 node_cpuid[srat_num_cpus].phys_id = 483 (pa->apic_id << 8) | (pa->local_sapic_eid); 484 /* nid should be overridden as logical node id later */ 485 node_cpuid[srat_num_cpus].nid = pxm; | 1/* 2 * acpi.c - Architecture-Specific Low-Level ACPI Support 3 * 4 * Copyright (C) 1999 VA Linux Systems 5 * Copyright (C) 1999,2000 Walt Drummond <drummond@valinux.com> 6 * Copyright (C) 2000, 2002-2003 Hewlett-Packard Co. 7 * David Mosberger-Tang <davidm@hpl.hp.com> 8 * Copyright (C) 2000 Intel Corp. --- 469 unchanged lines hidden (view full) --- 478 479 /* record this node in proximity bitmap */ 480 pxm_bit_set(pxm); 481 482 node_cpuid[srat_num_cpus].phys_id = 483 (pa->apic_id << 8) | (pa->local_sapic_eid); 484 /* nid should be overridden as logical node id later */ 485 node_cpuid[srat_num_cpus].nid = pxm; |
486 cpu_set(srat_num_cpus, early_cpu_possible_map); | 486 cpumask_set_cpu(srat_num_cpus, &early_cpu_possible_map); |
487 srat_num_cpus++; 488} 489 490int __init 491acpi_numa_memory_affinity_init(struct acpi_srat_mem_affinity *ma) 492{ 493 unsigned long paddr, size; 494 int pxm; --- 500 unchanged lines hidden --- | 487 srat_num_cpus++; 488} 489 490int __init 491acpi_numa_memory_affinity_init(struct acpi_srat_mem_affinity *ma) 492{ 493 unsigned long paddr, size; 494 int pxm; --- 500 unchanged lines hidden --- |