Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 30448
b: refs/heads/master
c: 0f4fdb7
h: refs/heads/master
v: v3
  • Loading branch information
ravikiran thirumalai authored and Linus Torvalds committed Jun 26, 2006
1 parent 585a595 commit 96011b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions 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: 7c393e7b95bceafcefd5357afdda9f5047b6aa69
refs/heads/master: 0f4fdb7fba0b3ec66df39d0e743e701404161fb8
5 changes: 1 addition & 4 deletions trunk/arch/x86_64/kernel/genapic_flat.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,7 @@ static unsigned int flat_cpu_mask_to_apicid(cpumask_t cpumask)

static unsigned int phys_pkg_id(int index_msb)
{
u32 ebx;

ebx = cpuid_ebx(1);
return ((ebx >> 24) & 0xFF) >> index_msb;
return hard_smp_processor_id() >> index_msb;
}

struct genapic apic_flat = {
Expand Down

0 comments on commit 96011b0

Please sign in to comment.