Skip to contentSkip to conversation

replacing/fixing printk with pr_debug/pr_info in arch/i386 - intro

PATCH Andi Kleen 1 participant 1 message Oct 17, 2004 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

Andi Kleen

author
#2 lore raw
Quoted 4 lines · Ingo Molnar

2) i dont like the pr_print name at all. What's wrong with Dprintk or dprintk? Just define them in kernel.h, this will also make your patch much smaller.

I prefer to declare them in subsystem specific files. This way you can easily enable/disable debugging for only specific files, not for everything.

-Andi