[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A7FCE01.8080206@gmail.com>
Date: Mon, 10 Aug 2009 09:36:33 +0200
From: Jiri Slaby <jirislaby@...il.com>
To: Jack Morgenstein <jackm@....mellanox.co.il>
CC: general@...ts.openfabrics.org, Roland Dreier <rdreier@...co.com>,
Marcin Slusarz <marcin.slusarz@...il.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [ofa-general] Re: [PATCH 10/14] infiniband: use printk_once
On 08/10/2009 08:36 AM, Jack Morgenstein wrote:
> printk_once will print once ONLY if CONFIG_PRINTK is set in include/linux/autoconf.h
> (i.e., when the kernel is configured). Otherwise, it gets defined to printk --
> and it will always print in this case.
Not true, in that case printk is defined as inlined 'return 0;'
> (see 2.6.30.xx kernel include file "include/linux/kernel.h", lines 235, 249, and 272).
See line 265 there.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists