mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 03:01:09 +02:00
Add memcmp symbol to kernel, closes #331
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3286 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
5a893eaf19
commit
5ac59f021c
16
target/linux/x86-2.4/patches/004-export_memcmp.patch
Normal file
16
target/linux/x86-2.4/patches/004-export_memcmp.patch
Normal file
@ -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);
|
Loading…
Reference in New Issue
Block a user