lkml.org 
[lkml]   [2010]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH] printk: Convert pr_<level> macros to functions
On Thu, 04 Mar 2010 13:29:52 -0800
Joe Perches <joe@perches.com> wrote:

> > Or perhaps we can do it via a helper function which takes the
> > additional argument?
> > asmlinkage int pr_everything(char levelchar, const char *fmt, ...)
>
> I believe that could not work.
> The symbol names to link against wouldn't be found.

Obviously one would need eight little functions, each of which calls
pr_everything().



\
 
 \ /
  Last update: 2010-03-04 22:37    [W:0.034 / U:0.740 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site