diff options
| author | Matt Mackall <mpm@selenic.com> | 2004-08-22 22:56:21 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-08-22 22:56:21 -0700 |
| commit | 683b229286b429244f35726b3c18caec429233bd (patch) | |
| tree | fde8ce454e7ddb5ba38b9ad415754ddf9e5d7a3a /include/linux/kernel.h | |
| parent | 87ff5642a855361eeeafafecf6e67898e706319d (diff) | |
[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/linux/kernel.h')
| -rw-r--r-- | include/linux/kernel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index c4c862629d84..a1cf3568a64e 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))); |
