patch-2.4.25 linux-2.4.25/arch/s390x/mm/init.c

Next file: linux-2.4.25/arch/sh/config.in
Previous file: linux-2.4.25/arch/s390x/kernel/s390_ksyms.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/arch/s390x/mm/init.c linux-2.4.25/arch/s390x/mm/init.c
@@ -170,6 +170,15 @@
         return freed;
 }
 
+void diag10(unsigned long addr)
+{
+        if (addr >= 0x80000000)
+                return;
+        asm volatile ("sam31\n\t"
+                      "diag %0,%0,0x10\n\t"
+                      "sam64" : : "a" (addr) );
+}
+
 void show_mem(void)
 {
         int i, total = 0,reserved = 0;

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