From: Paulo Marques Date: Wed, 20 Jun 2007 17:09:00 +0000 (+0100) Subject: kallsyms: remove usage of memmem and _GNU_SOURCE from scripts/kallsyms.c X-Git-Tag: v2.6.23-rc1~257^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c5d249ad3fb6ce3815c1ed5f04bece02a3e7030;p=pandora-kernel.git kallsyms: remove usage of memmem and _GNU_SOURCE 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 Signed-off-by: Sam Ravnborg --- Reading git-diff-tree failed