Messages in this thread | | | Subject | Re: As 2.0 looms | From | Matthias Urlichs <> | Date | 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 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
| |