[PATCH 07/21] Remove dead macros likely/unlikely in exec.c

Anthony Liguori
2009-04-29T21:21:02Z

More left overs from the old migration code.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
---
exec.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/exec.c b/exec.c
index 16d3cf8..e9d83a8 100644
--- a/exec.c
+++ b/exec.c
@@ -3500,14 +3500,6 @@ uint32_t lduw_phys(target_phys_addr_t addr)
return tswap16(val);
}

-#ifdef __GNUC__
-#define likely(x) __builtin_expect(!!(x), 1)
-#define unlikely(x) __builtin_expect(!!(x), 0)
-#else
-#define likely(x) x
-#define unlikely(x) x
-#endif
-
/* warning: addr must be aligned. The ram page is not masked as dirty
and the code inside is not invalidated. It is useful if the dirty
bits are used to track modified PTEs */
--
1.6.0.6