patch-2.4.4 linux/arch/s390x/kernel/cpprintk.c

Next file: linux/arch/s390x/kernel/debug.c
Previous file: linux/arch/s390x/kernel/cpcmd.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/arch/s390x/kernel/cpprintk.c linux/arch/s390x/kernel/cpprintk.c
@@ -1,25 +0,0 @@
-#include "cpcmd.h"
-#include <linux/mm.h>
-#include <linux/tty_driver.h>
-#include <linux/smp_lock.h>
-#include <linux/console.h>
-#include <linux/init.h>
-
-#include <asm/uaccess.h>
-
-static char buf[1024];
-
-asmlinkage int s390printk(const char *fmt, ...)
-{
-	va_list args;
-	int i;
-	unsigned long flags;
-	spin_lock_irqsave(&console_lock, flags);
-	va_start(args, fmt);
-	i = vsprintf(&buf[0],"MSG * ",args);
-	i = vsprintf(&buf[i], fmt, args); 
-	va_end(args);
-	cpcmd(buf,0,0);
-	spin_unlock_irqrestore(&console_lock, flags);
-	return i;
-}

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