From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVlaO-0006v0-3B for qemu-devel@nongnu.org; Mon, 14 Oct 2013 13:05:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVlaF-00068b-4r for qemu-devel@nongnu.org; Mon, 14 Oct 2013 13:05:39 -0400 Received: from mail-qc0-x233.google.com ([2607:f8b0:400d:c01::233]:47645) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVlaF-00068N-06 for qemu-devel@nongnu.org; Mon, 14 Oct 2013 13:05:31 -0400 Received: by mail-qc0-f179.google.com with SMTP id l4so4997459qcv.24 for ; Mon, 14 Oct 2013 10:05:30 -0700 (PDT) Sender: Richard Henderson Message-ID: <525C2455.2090608@twiddle.net> Date: Mon, 14 Oct 2013 10:05:25 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1381768175-13520-1-git-send-email-michael@walle.cc> <1381768175-13520-6-git-send-email-michael@walle.cc> In-Reply-To: <1381768175-13520-6-git-send-email-michael@walle.cc> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Michael Walle , qemu-devel@nongnu.org Cc: Paolo Bonzini 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~