lkml.org 
[lkml]   [2000]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectUnlocked printk() var_args question

I would like to provide a new printk() (unlocked_printk()) that does not
take any locks. This would be used by panic() and the like, were we
don't care about the locks an _REALLY_ want to get the message out.

What I am proposing is that printk() take the locks and then call
unlocked_printk(), i.e. share the real body of printk(). The problem I
am having is in how to set up the var_args call. Does anyone know how
to pass var_args comming in on to the inner function?

Also, another mystery, how, where, does printk.c include std_args.h?

George
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:37    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site