Fix duplicate for sys_create_module
Include linux/in6.h only for Linux MIPS
This commit is contained in:
parent
505e176ded
commit
2f473da12b
@ -1,3 +1,9 @@
|
||||
Mon Nov 1 20:52:08 CET 1999 Wichert Akkerman <wakkerma@debian.org>
|
||||
|
||||
* Move Linux kernelmodule-functions from system.c to bjm.c and
|
||||
remove duplicate for sys_create_module
|
||||
* Play with #ifdef's in net.c to get IPv6 right on Linux MIPS
|
||||
|
||||
Sun Oct 31 22:03:00 CET 1999 Wichert Akkerman <wakkerma@debian.org>
|
||||
|
||||
* Merge Linux mips patch from Florian Lohoff <flo@rfc822.org>
|
||||
|
10
bjm.c
10
bjm.c
@ -62,5 +62,15 @@ struct tcb *tcp;
|
||||
return RVAL_HEX;
|
||||
}
|
||||
|
||||
int
|
||||
sys_init_module(tcp)
|
||||
struct tcb *tcp;
|
||||
{
|
||||
if (entering(tcp)) {
|
||||
printpath(tcp, tcp->u_arg[0]);
|
||||
tprintf(", %#lx", tcp->u_arg[1]);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif /* LINUX */
|
||||
|
||||
|
3
net.c
3
net.c
@ -45,10 +45,11 @@
|
||||
#endif
|
||||
#endif /* LINUX */
|
||||
|
||||
|
||||
#if defined(LINUX) && defined(MIPS)
|
||||
#if defined( HAVE_LINUX_IN6_H)
|
||||
#include <linux/in6.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef PF_UNSPEC
|
||||
#define PF_UNSPEC AF_UNSPEC
|
||||
|
23
system.c
23
system.c
@ -1602,26 +1602,3 @@ struct tcb *tcp;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef LINUX
|
||||
int
|
||||
sys_create_module(tcp)
|
||||
struct tcb *tcp;
|
||||
{
|
||||
if (entering(tcp)) {
|
||||
printpath(tcp, tcp->u_arg[0]);
|
||||
tprintf(", %lu", tcp->u_arg[1]);
|
||||
}
|
||||
return RVAL_HEX;
|
||||
}
|
||||
|
||||
int
|
||||
sys_init_module(tcp)
|
||||
struct tcb *tcp;
|
||||
{
|
||||
if (entering(tcp)) {
|
||||
printpath(tcp, tcp->u_arg[0]);
|
||||
tprintf(", %#lx", tcp->u_arg[1]);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user