[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1454733014-15237-3-git-send-email-mcgrof@kernel.org>
Date: Fri, 5 Feb 2016 20:30:13 -0800
From: "Luis R. Rodriguez" <mcgrof@...nel.org>
To: hpa@...or.com, tglx@...utronix.de, mingo@...hat.com, bp@...en8.de
Cc: konrad.wilk@...cle.com, rusty@...tcorp.com.au, luto@...capital.net,
boris.ostrovsky@...cle.com, mcb30@...e.org, jgross@...e.com,
JBeulich@...e.com, joro@...tes.org, ryabinin.a.a@...il.com,
long.wanglong@...wei.com, qiuxishi@...wei.com,
aryabinin@...tuozzo.com, mchehab@....samsung.com, x86@...nel.org,
xen-devel@...ts.xensource.com, linux-kernel@...r.kernel.org,
"Luis R. Rodriguez" <mcgrof@...nel.org>
Subject: [PATCH v2 2/3] paravirt: replace direct access to pv_info.paravirt_enabled
Use helper, its why its there.
Signed-off-by: Luis R. Rodriguez <mcgrof@...nel.org>
---
arch/x86/include/asm/paravirt.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/include/asm/paravirt.h b/arch/x86/include/asm/paravirt.h
index 60a71dfe0c4e..6542aa99714b 100644
--- a/arch/x86/include/asm/paravirt.h
+++ b/arch/x86/include/asm/paravirt.h
@@ -21,7 +21,7 @@ static inline bool paravirt_enabled(void)
static inline bool paravirt_has_feature(unsigned int feature)
{
- WARN_ON_ONCE(!pv_info.paravirt_enabled);
+ WARN_ON_ONCE(!paravirt_enabled());
return !!(pv_info.features & feature);
}
--
2.7.0
Powered by blists - more mailing lists