Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17981
b: refs/heads/master
c: b9d1e4b
h: refs/heads/master
i:
  17979: feb3532
v: v3
  • Loading branch information
Vivek Goyal authored and Linus Torvalds committed Jan 12, 2006
1 parent 75fff0c commit dcb6784
Show file tree
Hide file tree
Showing 3 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: aea9fca1dc8a1f9ac5d3b76ef04516a010cbf2e4
refs/heads/master: b9d1e4bd6e44f2a75340226eb5f762e16bb4652f
2 changes: 1 addition & 1 deletion trunk/arch/x86_64/kernel/apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,7 @@ int __init APIC_init_uniprocessor (void)
connect_bsp_APIC();

phys_cpu_present_map = physid_mask_of_physid(boot_cpu_id);
apic_write_around(APIC_ID, boot_cpu_id);
apic_write_around(APIC_ID, SET_APIC_ID(boot_cpu_id));

setup_local_APIC();

Expand Down
1 change: 1 addition & 0 deletions trunk/include/asm-x86_64/apicdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#define APIC_ID 0x20
#define APIC_ID_MASK (0xFFu<<24)
#define GET_APIC_ID(x) (((x)>>24)&0xFFu)
#define SET_APIC_ID(x) (((x)<<24))
#define APIC_LVR 0x30
#define APIC_LVR_MASK 0xFF00FF
#define GET_APIC_VERSION(x) ((x)&0xFFu)
Expand Down

0 comments on commit dcb6784

Please sign in to comment.