lkml.org 
[lkml]   [1997]   [Jan]   [19]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From(Alan Cox)
SubjectRe: Kernel Language support
DateSun, 19 Jan 1997 14:39:34 +0000 (GMT)
> That's almost 12000 printk's in the kernel.  Not that I'm saying it
> wouldn't be worth doing, just saying that it'd be more than one
> afternoon's project.
> 
> FWIW, I liked the idea about the 
> #define ERROR_CONDITION "Error Condition";
> printk(KERN_LEVEL, ERROR_CONDITION);

The problem is almost that what you need to be able to do is tell gcc
that printk's argument lives in a different segment via an indirect pointer.
I'm not sure if there is enough gcc magic to do that


\
 
 \ /
  Last update: 2005-03-22 12:38    [from the cache]
©2003-2008