From 782329e64744e95965817908083c73c7bfa5bcf6 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Fri, 29 Jun 2007 00:23:18 +0000 Subject: [PATCH] two more unsigned! Signed-off-by: Ronald G. Minnich Acked-by: Ronald G. Minnich git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@409 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- include/arch/x86/msr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/arch/x86/msr.h b/include/arch/x86/msr.h index b348cabdb6..0605226afb 100644 --- a/include/arch/x86/msr.h +++ b/include/arch/x86/msr.h @@ -27,7 +27,7 @@ struct msr u32 hi; }; -static inline struct msr rdmsr(unsigned index) +static inline struct msr rdmsr(u32 index) { struct msr result; __asm__ __volatile__ ( @@ -38,7 +38,7 @@ static inline struct msr rdmsr(unsigned index) return result; } -static inline void wrmsr(unsigned index, struct msr msr) +static inline void wrmsr(u32 index, struct msr msr) { __asm__ __volatile__ ( "wrmsr"