[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200707241612.56509.rgetz@blackfin.uclinux.org>
Date: Tue, 24 Jul 2007 16:12:56 -0400
From: Robin Getz <rgetz@...ckfin.uclinux.org>
To: "Andrew Morton" <akpm@...ux-foundation.org>,
"Mike Frysinger" <vapier.adi@...il.com>
Cc: linux-kernel@...r.kernel.org, "Greg Ungerer" <gerg@...pgear.com>,
"Russell King" <rmk@....linux.org.uk>,
"Paul Mundt" <lethal@...ux-sh.org>,
"Tim Bird" <tim.bird@...sony.com>, bryan.wu@...log.com
Subject: Re: early_printk accessing __log_buf
On Tue 24 Jul 2007 14:12, Andrew Morton pondered:
> Oh well, it sounds like we need the super-duper fast version. Keep it
> as simple as possible, please.
What about:
int log_buf_copy(void *dest, int idx, size_t n);
starting at index idx - copy n bytes to dest, return the number of bytes
copied (in case there are not n bytes in the log_buf yet).
-
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