]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - arch/x86/kernel/paravirt.c
x86: Apply more __ro_after_init and const
[mirror_ubuntu-artful-kernel.git] / arch / x86 / kernel / paravirt.c
index ad5bc9578a7336f031bf580b415fe8354780d060..b8e4680a2e0bad1cb3ee922bc3c9a1ee1ae21df0 100644 (file)
@@ -389,7 +389,7 @@ NOKPROBE_SYMBOL(native_load_idt);
 #define PTE_IDENT      __PV_IS_CALLEE_SAVE(_paravirt_ident_64)
 #endif
 
-struct pv_mmu_ops pv_mmu_ops = {
+struct pv_mmu_ops pv_mmu_ops __ro_after_init = {
 
        .read_cr2 = native_read_cr2,
        .write_cr2 = native_write_cr2,