summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Weil2015-10-16 12:14:52 +0200
committerPeter Maydell2015-10-16 12:14:52 +0200
commit82c39f6a8898b028515eddcdbc4ae50959d0af5d (patch)
tree79c3b550c7550dd01f94154489c18370aa75f1ff
parentMerge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2015-10-12' into ... (diff)
downloadqemu-82c39f6a8898b028515eddcdbc4ae50959d0af5d.tar.gz
qemu-82c39f6a8898b028515eddcdbc4ae50959d0af5d.tar.xz
qemu-82c39f6a8898b028515eddcdbc4ae50959d0af5d.zip
target-arm: Add missing 'static' attribute
Signed-off-by: Stefan Weil <sw@weilnetz.de> Message-id: 1443213733-9807-1-git-send-email-sw@weilnetz.de Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--target-arm/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/helper.c b/target-arm/helper.c
index 83679970b4..584f6df80d 100644
--- a/target-arm/helper.c
+++ b/target-arm/helper.c
@@ -5194,7 +5194,7 @@ void switch_mode(CPUARMState *env, int mode)
* BIT IRQ IMO Non-secure Secure
* EL3 FIQ RW FMO EL0 EL1 EL2 EL3 EL0 EL1 EL2 EL3
*/
-const int8_t target_el_table[2][2][2][2][2][4] = {
+static const int8_t target_el_table[2][2][2][2][2][4] = {
{{{{/* 0 0 0 0 */{ 1, 1, 2, -1 },{ 3, -1, -1, 3 },},
{/* 0 0 0 1 */{ 2, 2, 2, -1 },{ 3, -1, -1, 3 },},},
{{/* 0 0 1 0 */{ 1, 1, 2, -1 },{ 3, -1, -1, 3 },},