Received: from eggs.gnu.org ([208.118.235.92]:37854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiZQv-0007Fw-Mo for qemu-devel@nongnu.org; Sat, 23 Jun 2012 19:08:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SiZQs-0002IY-Fx for qemu-devel@nongnu.org; Sat, 23 Jun 2012 19:08:01 -0400 From: Alexander Graf Date: Sun, 24 Jun 2012 01:06:46 +0200 Message-Id: <1340492856-21126-23-git-send-email-agraf@suse.de> In-Reply-To: <1340492856-21126-1-git-send-email-agraf@suse.de> References: <1340492856-21126-1-git-send-email-agraf@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 22/72] ppc: Make hbrev table const List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel qemu-devel Cc: Blue Swirl , qemu-ppc Mailing List , =?utf-8?q?Andreas=20F=C3=A4rber?= , Aurelien Jarno From: Blue Swirl Lookup table 'hbrev' is never written to, so add a 'const' qualifier. Signed-off-by: Blue Swirl Signed-off-by: Alexander Graf Signed-off-by: Andreas F=C3=A4rber Signed-off-by: Alexander Graf --- target-ppc/int_helper.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-ppc/int_helper.c b/target-ppc/int_helper.c index 3173f11..f638b2a 100644 --- a/target-ppc/int_helper.c +++ b/target-ppc/int_helper.c @@ -1484,7 +1484,7 @@ VUPK(lsh, s32, s16, UPKLO) /***********************************************************************= ******/ /* SPE extension helpers */ /* Use a table to make this quicker */ -static uint8_t hbrev[16] =3D { +static const uint8_t hbrev[16] =3D { 0x0, 0x8, 0x4, 0xC, 0x2, 0xA, 0x6, 0xE, 0x1, 0x9, 0x5, 0xD, 0x3, 0xB, 0x7, 0xF, }; --=20 1.6.0.2