aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Mackall <mpm@selenic.com>2004-08-22 22:56:21 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-22 22:56:21 -0700
commit683b229286b429244f35726b3c18caec429233bd (patch)
treefde8ce454e7ddb5ba38b9ad415754ddf9e5d7a3a /include
parent87ff5642a855361eeeafafecf6e67898e706319d (diff)
downloadhistory-683b229286b429244f35726b3c18caec429233bd.tar.gz
[PATCH] vprintk support
Add vprintk call. This lets us directly pass varargs stuff to the console without using vsnprintf to an intermediate buffer. Signed-off-by: Matt Mackall <mpm@selenic.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/kernel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index c4c862629d8404..a1cf3568a64e89 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -97,6 +97,7 @@ extern int __kernel_text_address(unsigned long addr);
extern int kernel_text_address(unsigned long addr);
extern int session_of_pgrp(int pgrp);
+asmlinkage int vprintk(const char *fmt, va_list args);
asmlinkage int printk(const char * fmt, ...)
__attribute__ ((format (printf, 1, 2)));