diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2009-07-13 22:13:13 +0000 |
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2009-07-13 22:13:13 +0000 |
| commit | e01cfa55dea9a3fb85bfa41a6d64702595e61e5b (patch) | |
| tree | 12d2c1b1bc7fef7e46ab412d635380b6c08d4509 /sys/boot | |
| parent | b1c33094118753743cd81a3b25b28df7357b8476 (diff) | |
Notes
Diffstat (limited to 'sys/boot')
| -rw-r--r-- | sys/boot/i386/libi386/bootinfo64.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/boot/i386/libi386/bootinfo64.c b/sys/boot/i386/libi386/bootinfo64.c index 5b2228ceea07..0c6d077ebe2b 100644 --- a/sys/boot/i386/libi386/bootinfo64.c +++ b/sys/boot/i386/libi386/bootinfo64.c @@ -150,8 +150,9 @@ bi_checkcpu(void) cpu_vendor = (char *)vendor; /* Check for vendors that support AMD features. */ - if (strncmp(cpu_vendor, "GenuineIntel", 12) != 0 && - strncmp(cpu_vendor, "AuthenticAMD", 12) != 0) + if (strncmp(cpu_vendor, INTEL_VENDOR_ID, 12) != 0 && + strncmp(cpu_vendor, AMD_VENDOR_ID, 12) != 0 && + strncmp(cpu_vendor, CENTAUR_VENDOR_ID, 12) != 0) return (0); /* Has to support AMD features. */ |
