Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 112803
b: refs/heads/master
c: e17941b
h: refs/heads/master
i:
  112801: fcf472b
  112799: d82191d
v: v3
  • Loading branch information
Suresh Siddha authored and Ingo Molnar committed Aug 23, 2008
1 parent 974c0b9 commit 7de71fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 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: bbb65d2d365efe9951290e61678dcf81ec60add4
refs/heads/master: e17941b0c140562d92e5a3bc12b4ad88281c7926
7 changes: 1 addition & 6 deletions trunk/arch/x86/kernel/genx2apic_cluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,9 @@ static unsigned long set_apic_id(unsigned int id)
return x;
}

static unsigned int x2apic_read_id(void)
{
return apic_read(APIC_ID);
}

static unsigned int phys_pkg_id(int index_msb)
{
return x2apic_read_id() >> index_msb;
return current_cpu_data.initial_apicid >> index_msb;
}

static void x2apic_send_IPI_self(int vector)
Expand Down
7 changes: 1 addition & 6 deletions trunk/arch/x86/kernel/genx2apic_phys.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,9 @@ static unsigned long set_apic_id(unsigned int id)
return x;
}

static unsigned int x2apic_read_id(void)
{
return apic_read(APIC_ID);
}

static unsigned int phys_pkg_id(int index_msb)
{
return x2apic_read_id() >> index_msb;
return current_cpu_data.initial_apicid >> index_msb;
}

void x2apic_send_IPI_self(int vector)
Expand Down

0 comments on commit 7de71fb

Please sign in to comment.