From: Andrew Cooper Subject: [PATCH] x86/cpuid: Correct parameter types for cpuid_count() Date: Mon, 19 Jan 2015 10:43:48 +0000 Message-ID: <1421664228-9170-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Xen-devel Cc: Andrew Cooper , Keir Fraser , Jan Beulich List-Id: xen-devel@lists.xenproject.org About half of the cpuid space has the top bit of op set, and op it always specified with unsigned integers. There are no problematic uses in tree at the moment. Signed-off-by: Andrew Cooper CC: Keir Fraser CC: Jan Beulich --- xen/include/asm-x86/processor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/include/asm-x86/processor.h b/xen/include/asm-x86/processor.h index f98eaf5..20eade6 100644 --- a/xen/include/asm-x86/processor.h +++ b/xen/include/asm-x86/processor.h @@ -234,8 +234,8 @@ unsigned int apicid_to_socket(unsigned int); /* Some CPUID calls want 'count' to be placed in ecx */ static inline void cpuid_count( - int op, - int count, + unsigned int op, + unsigned int count, unsigned int *eax, unsigned int *ebx, unsigned int *ecx, -- 1.7.10.4