From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVlpM-0003Km-UP for qemu-devel@nongnu.org; Mon, 14 Oct 2013 13:21:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVlpL-0003Vk-Ma for qemu-devel@nongnu.org; Mon, 14 Oct 2013 13:21:08 -0400 Received: from ssl.serverraum.org ([2a01:4f8:a0:1283::1:2]:57061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVlpL-0003VU-CY for qemu-devel@nongnu.org; Mon, 14 Oct 2013 13:21:07 -0400 From: Michael Walle Date: Mon, 14 Oct 2013 19:21:05 +0200 References: <1381768175-13520-1-git-send-email-michael@walle.cc> <1381768175-13520-6-git-send-email-michael@walle.cc> <525C2455.2090608@twiddle.net> In-Reply-To: <525C2455.2090608@twiddle.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201310141921.05407.michael@walle.cc> Subject: Re: [Qemu-devel] [PULL v2 05/11] milkymist-vgafb: swap pixel data in source buffer List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: Paolo Bonzini , qemu-devel@nongnu.org Am Montag, 14. Oktober 2013, 19:05:25 schrieb Richard Henderson: > On 10/14/2013 09:29 AM, Michael Walle wrote: > > +#ifndef HOST_WORDS_BIGENDIAN > > + rgb565 = bswap16(rgb565); > > +#endif > > be16_to_cpu, no ifdef needed. > > > r~ Thanks. I'll update the patch. -- michael