[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] types: replace remaining use of __u64
commit bd01fffef2b1f7b60b21046fdd3177c646716080 Author: Jan Beulich <jbeulich@xxxxxxxx> AuthorDate: Thu Oct 31 12:41:36 2024 +0100 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Thu Oct 31 12:41:36 2024 +0100 types: replace remaining use of __u64 ... and move the type itself to linux-compat.h. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Reviewed-by: Frediano Ziglio <frediano.ziglio@xxxxxxxxx> --- xen/arch/x86/include/asm/msr.h | 2 +- xen/include/xen/linux-compat.h | 1 + xen/include/xen/types.h | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/xen/arch/x86/include/asm/msr.h b/xen/arch/x86/include/asm/msr.h index 7ad66083a6..7b00a4db5d 100644 --- a/xen/arch/x86/include/asm/msr.h +++ b/xen/arch/x86/include/asm/msr.h @@ -31,7 +31,7 @@ : /* no outputs */ \ : "c" (msr), "a" (val1), "d" (val2)) -static inline void wrmsrl(unsigned int msr, __u64 val) +static inline void wrmsrl(unsigned int msr, uint64_t val) { uint32_t lo = val, hi = val >> 32; diff --git a/xen/include/xen/linux-compat.h b/xen/include/xen/linux-compat.h index 4f2b36a954..cdbc0dfde0 100644 --- a/xen/include/xen/linux-compat.h +++ b/xen/include/xen/linux-compat.h @@ -18,6 +18,7 @@ typedef uint16_t __u16; typedef int32_t s32, __s32; typedef uint32_t __u32; typedef int64_t s64, __s64; +typedef uint64_t __u64; typedef paddr_t phys_addr_t; diff --git a/xen/include/xen/types.h b/xen/include/xen/types.h index a03ab1d1ef..543bfb2159 100644 --- a/xen/include/xen/types.h +++ b/xen/include/xen/types.h @@ -8,7 +8,7 @@ typedef uint8_t u8; typedef uint16_t u16; typedef uint32_t u32; -typedef uint64_t u64, __u64; +typedef uint64_t u64; #include <asm/types.h> @@ -55,8 +55,8 @@ typedef uint16_t __le16; typedef uint16_t __be16; typedef uint32_t __le32; typedef uint32_t __be32; -typedef __u64 __le64; -typedef __u64 __be64; +typedef uint64_t __le64; +typedef uint64_t __be64; typedef unsigned int __attribute__((__mode__(__pointer__))) uintptr_t; -- generated by git-patchbot for /home/xen/git/xen.git#master
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |