Commit a1c5e723 authored by Olaf Hering's avatar Olaf Hering Committed by David S. Miller

[NET]: Allow CONFIG_NET=n on ppc64.

Signed-off-by: default avatarOlaf Hering <olh@suse.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent aa59d2c8
...@@ -1336,6 +1336,13 @@ static inline void sock_valbool_flag(struct sock *sk, int bit, int valbool) ...@@ -1336,6 +1336,13 @@ static inline void sock_valbool_flag(struct sock *sk, int bit, int valbool)
extern __u32 sysctl_wmem_max; extern __u32 sysctl_wmem_max;
extern __u32 sysctl_rmem_max; extern __u32 sysctl_rmem_max;
#ifdef CONFIG_NET
int siocdevprivate_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg); int siocdevprivate_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg);
#else
static inline int siocdevprivate_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
{
return -ENODEV;
}
#endif
#endif /* _SOCK_H */ #endif /* _SOCK_H */
...@@ -277,6 +277,7 @@ cond_syscall(sys_set_mempolicy) ...@@ -277,6 +277,7 @@ cond_syscall(sys_set_mempolicy)
cond_syscall(compat_mbind) cond_syscall(compat_mbind)
cond_syscall(compat_get_mempolicy) cond_syscall(compat_get_mempolicy)
cond_syscall(compat_set_mempolicy) cond_syscall(compat_set_mempolicy)
cond_syscall(compat_sys_socketcall)
/* arch-specific weak syscall entries */ /* arch-specific weak syscall entries */
cond_syscall(sys_pciconfig_read) cond_syscall(sys_pciconfig_read)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment