diff options
author | Ard Biesheuvel <[email protected]> | 2017-03-09 21:51:59 +0100 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2017-03-23 13:53:46 +0000 |
commit | 63d7c6afc510a4a6265b119f7b988af0cc118889 (patch) | |
tree | f3725a5ae439b79fbfa5f4c7cc44b13a10e79a17 /tools/perf/scripts | |
parent | 3b3c6c24de7f2de213e5e1e04a0c4b9082d61650 (diff) |
arm: kvm: move kvm_vgic_global_state out of .text section
The kvm_vgic_global_state struct contains a static key which is
written to by jump_label_init() at boot time. So in preparation of
making .text regions truly (well, almost truly) read-only, mark
kvm_vgic_global_state __ro_after_init so it moves to the .rodata
section instead.
Acked-by: Marc Zyngier <[email protected]>
Reviewed-by: Laura Abbott <[email protected]>
Reviewed-by: Mark Rutland <[email protected]>
Tested-by: Mark Rutland <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions