lkml.org 
[lkml]   [2003]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH-2.4] make log buffer length selectable
On Tue, Aug 26, 2003 at 06:25:50AM +0200, Willy Tarreau wrote:
> On Mon, Aug 25, 2003 at 04:48:30AM -0700, Marcelo Tosatti wrote:
> > final:
> >
> > - 2.4.22-rc4 was released as 2.4.22 with no changes.
>
> Hi Marcelo,
>
> as you requested, here is the log_buf_len patch for inclusion in 23-pre.

Two things. First, why not ask on every arch like 2.6 does? Second:
> diff -urN wt10-pre3/kernel/printk.c wt10-pre3-log-buf-len/kernel/printk.c
> --- wt10-pre3/kernel/printk.c Wed Mar 19 09:58:20 2003
> +++ wt10-pre3-log-buf-len/kernel/printk.c Tue Mar 25 08:14:55 2003
> @@ -29,6 +29,7 @@
>
> #include <asm/uaccess.h>
>
> +#if !defined(CONFIG_LOG_BUF_SHIFT) || (CONFIG_LOG_BUF_SHIFT - 0 == 0)

Why not just || (CONFIG_LOG_BUF_SHIFT == 0) ?

--
Tom Rini
http://gate.crashing.org/~trini/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.207 / U:2.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site