target-arm: Add missing 'static' attribute

Backports commit 82c39f6a8898b028515eddcdbc4ae50959d0af5d from qemu
This commit is contained in:
Stefan Weil 2018-02-16 14:31:57 -05:00 committed by Lioncash
parent a276496ebc
commit d1bba24d86
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -4555,7 +4555,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 },},