Merge branch 'x86/pti-urgent' into x86/pti
[linux-2.6-microblaze.git] / arch / x86 / mm / init_64.c
index 68c292c..dd519f3 100644 (file)
@@ -1287,12 +1287,6 @@ void mark_rodata_ro(void)
        free_kernel_image_pages((void *)rodata_end, (void *)_sdata);
 
        debug_checkwx();
-
-       /*
-        * Do this after all of the manipulation of the
-        * kernel text page tables are complete.
-        */
-       pti_clone_kernel_text();
 }
 
 int kern_addr_valid(unsigned long addr)