diff mbox

Intel CPUs starting from pentium have apic

Message ID 20091224141433.GB5691@redhat.com
State New
Headers show

Commit Message

Gleb Natapov Dec. 24, 2009, 2:14 p.m. UTC
Intel CPUs starting from pentium have apic. Lets advertise it.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
--
			Gleb.
diff mbox

Patch

diff --git a/target-i386/helper.c b/target-i386/helper.c
index 730e396..c39a993 100644
--- a/target-i386/helper.c
+++ b/target-i386/helper.c
@@ -106,7 +106,7 @@  typedef struct x86_def_t {
 
 #define I486_FEATURES (CPUID_FP87 | CPUID_VME | CPUID_PSE)
 #define PENTIUM_FEATURES (I486_FEATURES | CPUID_DE | CPUID_TSC | \
-          CPUID_MSR | CPUID_MCE | CPUID_CX8 | CPUID_MMX)
+          CPUID_MSR | CPUID_MCE | CPUID_CX8 | CPUID_MMX | CPUID_APIC)
 #define PENTIUM2_FEATURES (PENTIUM_FEATURES | CPUID_PAE | CPUID_SEP | \
           CPUID_MTRR | CPUID_PGE | CPUID_MCA | CPUID_CMOV | CPUID_PAT | \
           CPUID_PSE36 | CPUID_FXSR)