projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c49d341
)
target-arm: Add missing 'static' attribute
author
Stefan Weil
<sw@weilnetz.de>
Fri, 16 Oct 2015 10:14:52 +0000
(11:14 +0100)
committer
Peter Maydell
<peter.maydell@linaro.org>
Fri, 16 Oct 2015 10:14:52 +0000
(11:14 +0100)
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>
target-arm/helper.c
patch
|
blob
|
history
diff --git
a/target-arm/helper.c
b/target-arm/helper.c
index 83679970b43249da85e9c4a16a278e4162423f3b..584f6df80ddb6ab47a05c065ad885756ee9dc25d 100644
(file)
--- 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 },},