Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286503
b: refs/heads/master
c: cd298f6
h: refs/heads/master
i:
  286501: c9da3f7
  286499: 1830aba
  286495: 0ee7a02
v: v3
  • Loading branch information
Kurt Garloff authored and Len Brown committed Jan 17, 2012
1 parent 10b73ee commit 592e9ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8df0eb7c9d96f9e82f233ee8b74e0f0c8471f868
refs/heads/master: cd298f60a2451a16e0f077404bf69b62ec868733
4 changes: 4 additions & 0 deletions trunk/arch/x86/mm/srat.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ acpi_numa_processor_affinity_init(struct acpi_srat_cpu_affinity *pa)
if ((pa->flags & ACPI_SRAT_CPU_ENABLED) == 0)
return;
pxm = pa->proximity_domain_lo;
if (acpi_srat_revision >= 2)
pxm |= *((unsigned int*)pa->proximity_domain_hi) << 8;
node = setup_node(pxm);
if (node < 0) {
printk(KERN_ERR "SRAT: Too many proximity domains %x\n", pxm);
Expand Down Expand Up @@ -155,6 +157,8 @@ acpi_numa_memory_affinity_init(struct acpi_srat_mem_affinity *ma)
start = ma->base_address;
end = start + ma->length;
pxm = ma->proximity_domain;
if (acpi_srat_revision <= 1)
pxm &= 0xff;
node = setup_node(pxm);
if (node < 0) {
printk(KERN_ERR "SRAT: Too many proximity domains.\n");
Expand Down

0 comments on commit 592e9ea

Please sign in to comment.