lkml.org 
[lkml]   [1996]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: As 2.0 looms
From
Date
Alan Cox wrote:
>
> Id not be keen to change
>the irq probes until after 2.0 - when it should be done. IRQ probing is
>a delicate art.
>
OK... if you / Linus say so. (It should have been done right the first
time, though. And I still do think that I'd rather call the next version
1.4, but maybe that's just me...)

>As to printk. Does a preprocessor guru want to hack the defines so a printk
>without a KERN_xxx define at the start breaks during the compile.

Easy to do, but not the way you wrote it. ;-)

find /usr/src/linux/. -name \*.[hc] -print | \
xargs perl -i -pe 's#\b(printk\s*\()\s*"#\1KERN_FIXME "#g'

This replaces all printk("foo") with printk(KERN_FIXME "foo").

Replace KERN_FIXME with whatever else suits you.

The above is untested but should work; printks in macros might need
some massaging but there aren't many of these.

--
The First Law of Management:
Kickbacks must always exceed bribes.
--
Matthias Urlichs \ Noris Network GmbH i.Gr/ Xlink-POP Nürnberg
Schleiermacherstraße 12 \ Linux+Internet / EMail: urlichs@noris.de
90491 Nürnberg (Germany) \ Consulting+Programming+Networking+etc'ing
PGP: 1B 89 E2 1C 43 EA 80 44 15 D2 29 CF C6 C7 E0 DE
Click <A HREF="http://smurf.noris.de/~smurf/finger">here</A>. 42


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