[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/5] target-alpha: Fix generic ctz64.
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH 3/5] target-alpha: Fix generic ctz64. |
Date: |
Sun, 13 Dec 2009 17:47:25 -0800 |
Signed-off-by: Richard Henderson <address@hidden>
---
host-utils.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/host-utils.h b/host-utils.h
index e335c5c..0ddc176 100644
--- a/host-utils.h
+++ b/host-utils.h
@@ -164,7 +164,7 @@ static inline int ctz64(uint64_t val)
{
#if QEMU_GNUC_PREREQ(3, 4)
if (val)
- return __builtin_ctz(val);
+ return __builtin_ctzll(val);
else
return 64;
#else
--
1.6.5.2