Re: [RFC PATCH] printk: Convert pr_<level> macros to functions

From: Andrew Morton
Date: Thu Mar 04 2010 - 16:34:16 EST


On Thu, 04 Mar 2010 13:29:52 -0800
Joe Perches <joe@xxxxxxxxxxx> 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().

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