patch-2.2.18 linux/arch/s390/mm/init.c

Next file: linux/arch/s390/tools/dasdfmt/dasdfmt.8
Previous file: linux/arch/s390/mm/fault.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/arch/s390/mm/init.c linux/arch/s390/mm/init.c
@@ -251,6 +251,7 @@
         unsigned long tmp;
         unsigned long address=0;
         unsigned long pgdir_k = (__pa(swapper_pg_dir) & PAGE_MASK) | _KERNSEG_TABLE;
+        static const int ssm_mask = 0x04000000L;
 
 	/* unmap whole virtual address space */
 
@@ -295,7 +296,9 @@
         /* enable virtual mapping in kernel mode */
         __asm__ __volatile__("    LCTL  1,1,%0\n"
                              "    LCTL  7,7,%0\n"
-                             "    LCTL  13,13,%0" : :"m" (pgdir_k));
+                             "    LCTL  13,13,%0\n"
+                             "    SSM   %1"
+                             : : "m" (pgdir_k), "m" (ssm_mask));
 
         local_flush_tlb();
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)