This is unnecessary sign-extension will do the Right Thing. Paul Brook also objects strongly to it because it's unnecessary.
Signed-off-by: Anthony Liguori <[EMAIL PROTECTED]> diff --git a/qemu/cpu-all.h b/qemu/cpu-all.h index 6ded4e6..a4c05b0 100644 --- a/qemu/cpu-all.h +++ b/qemu/cpu-all.h @@ -739,7 +739,7 @@ static inline void stfq_be_p(void *ptr, float64 v) /* page related stuff */ -#define TARGET_PAGE_SIZE (1ul << TARGET_PAGE_BITS) +#define TARGET_PAGE_SIZE (1 << TARGET_PAGE_BITS) #define TARGET_PAGE_MASK ~(TARGET_PAGE_SIZE - 1) #define TARGET_PAGE_ALIGN(addr) (((addr) + TARGET_PAGE_SIZE - 1) & TARGET_PAGE_MASK) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
