Displaying 5 results from an estimated 5 matches for "have_callable_consol".
Did you mean:
have_callable_console
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 13/13] Hack to get output
...gt;
Cc: Glauber de Oliveira Costa <glommer@gmail.com>
Cc: Chris Wright <chrisw@sous-sol.org>
Index: work-pv/kernel/printk.c
===================================================================
--- work-pv.orig/kernel/printk.c
+++ work-pv/kernel/printk.c
@@ -499,12 +499,17 @@ static int have_callable_console(void)
* printf(3)
*/
+extern void lguest_vprint(const char *fmt, va_list ap);
asmlinkage int printk(const char *fmt, ...)
{
va_list args;
+ va_list lgargs;
int r;
va_start(args, fmt);
+ va_copy(lgargs, args);
+ lguest_vprint(fmt, lgargs);
+ va_end(lgargs);
r = vprintk(fmt, args);...
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 13/13] Hack to get output
...gt;
Cc: Glauber de Oliveira Costa <glommer@gmail.com>
Cc: Chris Wright <chrisw@sous-sol.org>
Index: work-pv/kernel/printk.c
===================================================================
--- work-pv.orig/kernel/printk.c
+++ work-pv/kernel/printk.c
@@ -499,12 +499,17 @@ static int have_callable_console(void)
* printf(3)
*/
+extern void lguest_vprint(const char *fmt, va_list ap);
asmlinkage int printk(const char *fmt, ...)
{
va_list args;
+ va_list lgargs;
int r;
va_start(args, fmt);
+ va_copy(lgargs, args);
+ lguest_vprint(fmt, lgargs);
+ va_end(lgargs);
r = vprintk(fmt, args);...
2011 Jan 20
1
[PATCH] change acquire/release_console_sem() to console_lock/unlock()
...le_drivers(unsigned start,
/*
* Call the console drivers, asking them to write out
* log_buf[start] to log_buf[end - 1].
- * The console_sem must be held.
+ * The console_lock must be held.
*/
static void call_console_drivers(unsigned start, unsigned end)
{
@@ -604,11 +604,11 @@ static int have_callable_console(void)
*
* This is printk(). It can be called from any context. We want it to work.
*
- * We try to grab the console_sem. If we succeed, it's easy - we log the output and
+ * We try to grab the console_lock. If we succeed, it's easy - we log the output and
* call the console dri...
2011 Jan 20
1
[PATCH] change acquire/release_console_sem() to console_lock/unlock()
...le_drivers(unsigned start,
/*
* Call the console drivers, asking them to write out
* log_buf[start] to log_buf[end - 1].
- * The console_sem must be held.
+ * The console_lock must be held.
*/
static void call_console_drivers(unsigned start, unsigned end)
{
@@ -604,11 +604,11 @@ static int have_callable_console(void)
*
* This is printk(). It can be called from any context. We want it to work.
*
- * We try to grab the console_sem. If we succeed, it's easy - we log the output and
+ * We try to grab the console_lock. If we succeed, it's easy - we log the output and
* call the console dri...
2011 Jan 20
1
[PATCH] change acquire/release_console_sem() to console_lock/unlock()
...le_drivers(unsigned start,
/*
* Call the console drivers, asking them to write out
* log_buf[start] to log_buf[end - 1].
- * The console_sem must be held.
+ * The console_lock must be held.
*/
static void call_console_drivers(unsigned start, unsigned end)
{
@@ -604,11 +604,11 @@ static int have_callable_console(void)
*
* This is printk(). It can be called from any context. We want it to work.
*
- * We try to grab the console_sem. If we succeed, it's easy - we log the output and
+ * We try to grab the console_lock. If we succeed, it's easy - we log the output and
* call the console dri...