Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165309
b: refs/heads/master
c: 8079ce3
h: refs/heads/master
i:
  165307: cc3cf34
v: v3
  • Loading branch information
Thomas Gleixner authored and Len Brown committed Sep 15, 2009
1 parent a377bd1 commit 8d317f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 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: 5f0db7a2fb78895a197f64e548333b3bbd433996
refs/heads/master: 8079ce34f2c3f5bfedcea8d4fb7290ce46ac5b56
4 changes: 0 additions & 4 deletions trunk/arch/x86/kernel/sfi.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,12 @@ void __init mp_sfi_register_lapic_address(unsigned long address)
/* All CPUs enumerated by SFI must be present and enabled */
void __cpuinit mp_sfi_register_lapic(u8 id)
{
int boot_cpu = 0;

if (MAX_APICS - id <= 0) {
pr_warning("Processor #%d invalid (max %d)\n",
id, MAX_APICS);
return;
}

if (id == boot_cpu_physical_apicid)
boot_cpu = 1;
pr_info("registering lapic[%d]\n", id);

generic_processor_info(id, GET_APIC_VERSION(apic_read(APIC_LVR)));
Expand Down

0 comments on commit 8d317f6

Please sign in to comment.