diff options
-rw-r--r-- | kernel/sysctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 7733ef58aaca..84cab0ce44d9 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -2767,12 +2767,14 @@ static int sysctl_uts_string(ctl_table *table, int __user *name, int nlen, | |||
2767 | { | 2767 | { |
2768 | return -ENOSYS; | 2768 | return -ENOSYS; |
2769 | } | 2769 | } |
2770 | #ifdef CONFIG_SYSVIPC | ||
2770 | static int sysctl_ipc_data(ctl_table *table, int __user *name, int nlen, | 2771 | static int sysctl_ipc_data(ctl_table *table, int __user *name, int nlen, |
2771 | void __user *oldval, size_t __user *oldlenp, | 2772 | void __user *oldval, size_t __user *oldlenp, |
2772 | void __user *newval, size_t newlen) | 2773 | void __user *newval, size_t newlen) |
2773 | { | 2774 | { |
2774 | return -ENOSYS; | 2775 | return -ENOSYS; |
2775 | } | 2776 | } |
2777 | #endif | ||
2776 | #endif /* CONFIG_SYSCTL_SYSCALL */ | 2778 | #endif /* CONFIG_SYSCTL_SYSCALL */ |
2777 | 2779 | ||
2778 | /* | 2780 | /* |