Re: As 2.0 looms

Matthias Urlichs (smurf@smurf.noris.de)
Mon, 29 Apr 1996 13:19:43 +0200 (MET DST)


Alan Cox wrote:
>
> Id not be keen to change
>the irq probes until after 2.0 - when it should be done. IRQ probing i=
s
>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 versio=
n
1.4, but maybe that's just me...)=20

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

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.

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