diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-02-28 08:47:40 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-02-28 08:47:40 +0000 |
commit | b615cf4379ab274857ed531ccd256ee61ef11f58 (patch) | |
tree | f44de7392ecbeb80165f575c1f41b114553398e3 /openwrt/target/linux/x86-2.4/patches | |
parent | 96fe7e46e0ee0b566e723c84fa951406cd1ada93 (diff) |
Add memcmp symbol to kernel, closes #331
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3286 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/x86-2.4/patches')
-rw-r--r-- | openwrt/target/linux/x86-2.4/patches/004-export_memcmp.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/openwrt/target/linux/x86-2.4/patches/004-export_memcmp.patch b/openwrt/target/linux/x86-2.4/patches/004-export_memcmp.patch new file mode 100644 index 0000000000..5c22a204c8 --- /dev/null +++ b/openwrt/target/linux/x86-2.4/patches/004-export_memcmp.patch @@ -0,0 +1,16 @@ +--- linux-2.4.32/arch/i386/kernel/i386_ksyms.c-- 2006-02-26 11:11:42.000000000 +0100 ++++ linux-2.4.32/arch/i386/kernel/i386_ksyms.c 2006-02-26 11:11:45.000000000 +0100 +@@ -170,10 +170,13 @@ + + #undef memcpy + #undef memset ++#undef memcmp + extern void * memset(void *,int,__kernel_size_t); + extern void * memcpy(void *,const void *,__kernel_size_t); ++extern int memcmp(const void *, const void *); + EXPORT_SYMBOL_NOVERS(memcpy); + EXPORT_SYMBOL_NOVERS(memset); ++EXPORT_SYMBOL_NOVERS(memcmp); + + #ifdef CONFIG_HAVE_DEC_LOCK + EXPORT_SYMBOL(atomic_dec_and_lock); |