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
- Lines: 16
- Date:
2004-02-18 05:36:30.000000000 -0800
- Orig file:
linux-2.4.24/arch/s390x/mm/init.c
- Orig date:
2003-08-25 04:44:40.000000000 -0700
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)