aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2012-05-30 04:23:42 +0000
committerAlexander Graf <agraf@suse.de>2012-06-24 01:04:43 +0200
commitea6c0dac4bf161bb696ef0867d94b6223e9432c0 (patch)
treea31643948ab64422a14357453605d0ae4e9861cd
parent9063825538ad8fc9131191fceefcbb149fa5d199 (diff)
downloadqemu-ea6c0dac4bf161bb696ef0867d94b6223e9432c0.zip
qemu-ea6c0dac4bf161bb696ef0867d94b6223e9432c0.tar.gz
qemu-ea6c0dac4bf161bb696ef0867d94b6223e9432c0.tar.bz2
ppc: Make hbrev table const
Lookup table 'hbrev' is never written to, so add a 'const' qualifier. Signed-off-by: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Alexander Graf <agraf@suse.de>
-rw-r--r--target-ppc/int_helper.c2
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] = {
+static const uint8_t hbrev[16] = {
0x0, 0x8, 0x4, 0xC, 0x2, 0xA, 0x6, 0xE,
0x1, 0x9, 0x5, 0xD, 0x3, 0xB, 0x7, 0xF,
};