* [Qemu-devel] [PATCH] syscall
@ 2008-06-10 14:55 Laurent Desnogues
0 siblings, 0 replies; only message in thread
From: Laurent Desnogues @ 2008-06-10 14:55 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 100 bytes --]
TARGET_WORDS_BIGENDIAN is incorrectly spelled TARGET_WORDS_BIG_ENDIAN
in target_offset64.
Laurent
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: syscall.patch --]
[-- Type: text/x-patch; name=syscall.patch, Size: 524 bytes --]
diff -ru -x .svn svn-ref/linux-user/syscall.c svn/linux-user/syscall.c
--- svn-ref/linux-user/syscall.c 2008-06-09 16:29:41.000000000 +0200
+++ svn/linux-user/syscall.c 2008-06-10 16:50:34.000000000 +0200
@@ -3070,7 +3070,7 @@
#if TARGET_ABI_BITS == 32
static inline uint64_t target_offset64(uint32_t word0, uint32_t word1)
{
-#ifdef TARGET_WORDS_BIG_ENDIAN
+#ifdef TARGET_WORDS_BIGENDIAN
return ((uint64_t)word0 << 32) | word1;
#else
return ((uint64_t)word1 << 32) | word0;
Only in svn/linux-user: syscall.c~
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-06-10 14:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-10 14:55 [Qemu-devel] [PATCH] syscall Laurent Desnogues
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).