[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4678013C.5090402@grupopie.com>
Date: Tue, 19 Jun 2007 17:15:56 +0100
From: Paulo Marques <pmarques@...popie.com>
To: Andrew Morton <akpm@...l.org>
CC: linux-kernel <linux-kernel@...r.kernel.org>,
Mike Frysinger <vapier@...too.org>
Subject: [PATCH] remove usage of memmem from scripts/kallsyms.c
The only in-kernel user of "memmem" is scripts/kallsyms.c and it only
uses it to find tokens that are 2 bytes in size. It is trivial to
replace it with a simple function that finds 2-byte tokens.
This should help users from systems that don't have the memmem GNU
extension available.
Signed-off-by: Paulo Marques <pmarques@...popie.com>
--
Paulo Marques - www.grupopie.com
"667: The neighbor of the beast."
View attachment "patch" of type "text/plain" (1083 bytes)
Powered by blists - more mailing lists