lkml.org 
[lkml]   [1999]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: *(int*)0 = 0 & variations
On Tue, Jun 22, 1999 at 07:23:10PM -0400, Joshua M. Thompson wrote:

[dprintk]
> Except for the per-module part this sounds an awful lot like
> console_loglevel and the various KERN_xxx prefixes for printk()'s.

But if you use e.g. printk( KERN_DEBUG .., that won't get compiled out if
debug messages are disabled. using #define means you can #define it to nothing
if debug messages are turned off in the config.

--
If you think the problem is bad now, just wait until we've solved it.
-- Arthur Kasspe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [from the cache]
©2003-2011 Jasper Spaans