Skip to content

Commit

Permalink
x86: provide APIC_INTEGRATED definition for x86_64
Browse files Browse the repository at this point in the history
it is always integrated, so define as 1.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Glauber de Oliveira Costa authored and Ingo Molnar committed Apr 17, 2008
1 parent 5733f62 commit ac56ef6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion include/asm-x86/apicdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
#define APIC_LVR_MASK 0xFF00FF
#define GET_APIC_VERSION(x) ((x)&0xFFu)
#define GET_APIC_MAXLVT(x) (((x)>>16)&0xFFu)
#define APIC_INTEGRATED(x) ((x)&0xF0u)
#ifdef CONFIG_X86_32
# define APIC_INTEGRATED(x) ((x)&0xF0u)
#else
# define APIC_INTEGRATED(x) (1)
#endif
#define APIC_XAPIC(x) ((x) >= 0x14)
#define APIC_TASKPRI 0x80
#define APIC_TPRI_MASK 0xFFu
Expand Down

0 comments on commit ac56ef6

Please sign in to comment.