diff options
| author | Andi Kleen <ak@muc.de> | 2004-10-28 02:20:35 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-10-28 02:20:35 -0700 |
| commit | eec2e6670c41f1aba7b02dde582951165a95966e (patch) | |
| tree | ba7a5cf5e09c8b02ae2d28de8fd2924578ae5f30 /include | |
| parent | 139a2d1e870b22b5a2c2b2d8df76bc827c53d7b2 (diff) | |
[PATCH] Fix x86-64 genapic build
The x86-64 genapic patch that was recently merged missed some definitions
and doesn't compile at all.
This fixes it by adding the missing defines for genapic
Signed-off-by: Andi Kleen <ak@muc.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-x86_64/apicdef.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-x86_64/apicdef.h b/include/asm-x86_64/apicdef.h index f5ed5dd661a5..3d7627ffe67d 100644 --- a/include/asm-x86_64/apicdef.h +++ b/include/asm-x86_64/apicdef.h @@ -32,6 +32,8 @@ #define SET_APIC_LOGICAL_ID(x) (((x)<<24)) #define APIC_ALL_CPUS 0xFFu #define APIC_DFR 0xE0 +#define APIC_DFR_CLUSTER 0x0FFFFFFFul +#define APIC_DFR_FLAT 0xFFFFFFFFul #define APIC_SPIV 0xF0 #define APIC_SPIV_FOCUS_DISABLED (1<<9) #define APIC_SPIV_APIC_ENABLED (1<<8) @@ -87,6 +89,7 @@ #define APIC_LVT_REMOTE_IRR (1<<14) #define APIC_INPUT_POLARITY (1<<13) #define APIC_SEND_PENDING (1<<12) +#define APIC_MODE_MASK 0x700 #define GET_APIC_DELIVERY_MODE(x) (((x)>>8)&0x7) #define SET_APIC_DELIVERY_MODE(x,y) (((x)&~0x700)|((y)<<8)) #define APIC_MODE_FIXED 0x0 |
