Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298029
b: refs/heads/master
c: ac909ec
h: refs/heads/master
i:
  298027: 964656d
v: v3
  • Loading branch information
Petr Vandrovec authored and Len Brown committed Mar 30, 2012
1 parent 870a188 commit c0f5e1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c80f5b31f3c55a197f5323b93d1e3553429a427e
refs/heads/master: ac909ec308ce8d5177963c780564824d12bc3fa2
3 changes: 2 additions & 1 deletion trunk/arch/x86/kernel/acpi/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,7 @@ static int __cpuinit _acpi_map_lsapic(acpi_handle handle, int *pcpu)
kfree(buffer.pointer);
buffer.length = ACPI_ALLOCATE_BUFFER;
buffer.pointer = NULL;
lapic = NULL;

if (!alloc_cpumask_var(&tmp_map, GFP_KERNEL))
goto out;
Expand All @@ -650,7 +651,7 @@ static int __cpuinit _acpi_map_lsapic(acpi_handle handle, int *pcpu)
goto free_tmp_map;

cpumask_copy(tmp_map, cpu_present_mask);
acpi_register_lapic(physid, lapic->lapic_flags & ACPI_MADT_ENABLED);
acpi_register_lapic(physid, ACPI_MADT_ENABLED);

/*
* If mp_register_lapic successfully generates a new logical cpu
Expand Down

0 comments on commit c0f5e1c

Please sign in to comment.