diff options
author | Paulo Marques <pmarques@grupopie.com> | 2007-06-20 18:09:00 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-07-17 14:36:08 +0200 |
commit | 7c5d249ad3fb6ce3815c1ed5f04bece02a3e7030 (patch) | |
tree | ed6b276908a6c5a474ec624f92c94b83f572b64c /arch/cris | |
parent | af332aa3876eaf39b159d345c86b744832ec4336 (diff) | |
download | kernel_samsung_smdk4412-7c5d249ad3fb6ce3815c1ed5f04bece02a3e7030.zip kernel_samsung_smdk4412-7c5d249ad3fb6ce3815c1ed5f04bece02a3e7030.tar.gz kernel_samsung_smdk4412-7c5d249ad3fb6ce3815c1ed5f04bece02a3e7030.tar.bz2 |
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 <pmarques@grupopie.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/cris')
0 files changed, 0 insertions, 0 deletions