From 6cbb35dc5fc56e2b542149523727407c85518167 Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Thu, 17 Jul 2008 15:28:35 -0500 Subject: [PATCH] Remove change to TARGET_PAGE_SIZE 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 Signed-off-by: Avi Kivity --- cpu-all.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu-all.h b/cpu-all.h index 0afd6614e2..c02037d6a5 100644 --- a/cpu-all.h +++ b/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) -- 2.11.4.GIT