diff options
author | jkim <jkim@FreeBSD.org> | 2009-09-10 17:27:36 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2009-09-10 17:27:36 +0000 |
commit | be05b1436b447ef36146259400f93cfd997b2411 (patch) | |
tree | d5de1bb581acd0166dbeadb709641909a975358a /sys/i386/xen | |
parent | e4fc8331e6ad16cd47da1d2884498d46200e7eb6 (diff) | |
download | FreeBSD-src-be05b1436b447ef36146259400f93cfd997b2411.zip FreeBSD-src-be05b1436b447ef36146259400f93cfd997b2411.tar.gz |
Consolidate CPUID to CPU family/model macros for amd64 and i386 to reduce
unnecessary #ifdef's for shared code between them.
Diffstat (limited to 'sys/i386/xen')
-rw-r--r-- | sys/i386/xen/pmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/xen/pmap.c b/sys/i386/xen/pmap.c index 122318c..1d9c9c1 100644 --- a/sys/i386/xen/pmap.c +++ b/sys/i386/xen/pmap.c @@ -517,7 +517,7 @@ pmap_init_pat(void) return; if (cpu_vendor_id != CPU_VENDOR_INTEL || - (I386_CPU_FAMILY(cpu_id) == 6 && I386_CPU_MODEL(cpu_id) >= 0xe)) { + (CPUID_TO_FAMILY(cpu_id) == 6 && CPUID_TO_MODEL(cpu_id) >= 0xe)) { /* * Leave the indices 0-3 at the default of WB, WT, UC, and UC-. * Program 4 and 5 as WP and WC. |