[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 22/72] ppc: Make hbrev table const
From: |
Alexander Graf |
Subject: |
[Qemu-ppc] [PATCH 22/72] ppc: Make hbrev table const |
Date: |
Sun, 24 Jun 2012 01:06:46 +0200 |
From: Blue Swirl <address@hidden>
Lookup table 'hbrev' is never written to, so add a 'const' qualifier.
Signed-off-by: Blue Swirl <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
---
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] = {
+static const uint8_t hbrev[16] = {
0x0, 0x8, 0x4, 0xC, 0x2, 0xA, 0x6, 0xE,
0x1, 0x9, 0x5, 0xD, 0x3, 0xB, 0x7, 0xF,
};
--
1.6.0.2
- [Qemu-ppc] [PULL 00/72] ppc patch queue 2012-06-24, Alexander Graf, 2012/06/23
- [Qemu-ppc] [PATCH 02/72] ppc: Split exception helpers, Alexander Graf, 2012/06/23
- [Qemu-ppc] [PATCH 12/72] ppc: Avoid a warning with the next patch, Alexander Graf, 2012/06/23
- [Qemu-ppc] [PATCH 21/72] ppc: Add missing break, Alexander Graf, 2012/06/23
- [Qemu-ppc] [PATCH 15/72] ppc: Split off timebase helpers, Alexander Graf, 2012/06/23
- [Qemu-ppc] [PATCH 22/72] ppc: Make hbrev table const,
Alexander Graf <=
- [Qemu-ppc] [PATCH 03/72] ppc: Avoid AREG0 for exception helpers, Alexander Graf, 2012/06/23
- [Qemu-ppc] [PATCH 16/72] ppc: Avoid AREG0 for timebase helpers, Alexander Graf, 2012/06/23
- [Qemu-ppc] [PATCH 05/72] ppc: Move exception helpers from helper.c to excp_helper.c, Alexander Graf, 2012/06/23
- [Qemu-ppc] [PATCH 18/72] ppc: Avoid AREG0 for misc helpers, Alexander Graf, 2012/06/23
- [Qemu-ppc] [PATCH 14/72] ppc: Cleanup MMU merge, Alexander Graf, 2012/06/23
- [Qemu-ppc] [PATCH 09/72] ppc: Avoid AREG0 for integer and vector helpers, Alexander Graf, 2012/06/23
- [Qemu-ppc] [PATCH 19/72] ppc: Move misc helpers from helper.c to misc_helper.c, Alexander Graf, 2012/06/23
- [Qemu-ppc] [PATCH 11/72] ppc: Avoid AREG0 for MMU etc. helpers, Alexander Graf, 2012/06/23
- [Qemu-ppc] [PATCH 17/72] ppc: Split off misc helpers, Alexander Graf, 2012/06/23
- [Qemu-ppc] [PATCH 04/72] ppc: Fix coding style in helper.c, Alexander Graf, 2012/06/23