summaryrefslogtreecommitdiff
path: root/usr/src/uts/i86pc/io/immu_regs.c
diff options
context:
space:
mode:
authorKuriakose Kuruvilla <kuriakose.kuruvilla@oracle.com>2010-07-14 15:47:07 -0700
committerKuriakose Kuruvilla <kuriakose.kuruvilla@oracle.com>2010-07-14 15:47:07 -0700
commit7417cfdecea1902cef03c0d61a72df97d945925d (patch)
tree96032c72181128bf76344c8c2bc8b2c8dd7a162a /usr/src/uts/i86pc/io/immu_regs.c
parent5cd376e8b7030707d78315f63adb4bb2b4d9963e (diff)
downloadillumos-gate-7417cfdecea1902cef03c0d61a72df97d945925d.tar.gz
6812663 Running out of bits in x86_feature
Diffstat (limited to 'usr/src/uts/i86pc/io/immu_regs.c')
-rw-r--r--usr/src/uts/i86pc/io/immu_regs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/i86pc/io/immu_regs.c b/usr/src/uts/i86pc/io/immu_regs.c
index 97d56a3776..d18c6bc12a 100644
--- a/usr/src/uts/i86pc/io/immu_regs.c
+++ b/usr/src/uts/i86pc/io/immu_regs.c
@@ -382,7 +382,7 @@ setup_regs(immu_t *immu)
immu->immu_dvma_coherent = B_TRUE;
} else {
immu->immu_dvma_coherent = B_FALSE;
- if (!(x86_feature & X86_CLFSH)) {
+ if (!is_x86_feature(x86_featureset, X86FSET_CLFSH)) {
ddi_err(DER_WARN, NULL,
"immu unit %s can't be enabled due to "
"missing clflush functionality", immu->immu_name);