[S390] Mark kernel text section read-only.
[linux-2.6-block.git] / arch / s390 / kernel / vmlinux.lds.S
index 8fedb1f9fc976572c27f3863821e0ad60256021e..a4890739252230df4ebb28cc70a0e79915aa7bd0 100644 (file)
@@ -35,9 +35,10 @@ SECTIONS
 
 #ifdef CONFIG_SHARED_KERNEL
   . = ALIGN(1048576);          /* VM shared segments are 1MB aligned */
+#endif
 
+  . = ALIGN(4096);
   _eshared = .;                        /* End of shareable data */
-#endif
 
   . = ALIGN(16);               /* Exception table */
   __start___ex_table = .;