lkml.org 
[lkml]   [2004]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] mm4: add-do_proc_doulonglongvec_minmax-to-sysctl-functions
From
Date
Heya,

This patch makes the code compile with CONFIG_SYSCTL unset.

/ magnus

diff -urN linux-2.6.10-rc1-mm4/kernel/sysctl.c linux-2.6.10-rc1-mm4-no_sysctl/kernel/sysctl.c
--- linux-2.6.10-rc1-mm4/kernel/sysctl.c 2004-11-09 19:38:16.000000000 +0100
+++ linux-2.6.10-rc1-mm4-no_sysctl/kernel/sysctl.c 2004-11-10 14:28:34.181959944 +0100
@@ -2313,6 +2313,12 @@
return -ENOSYS;
}

+int proc_doulonglongvec_minmax(ctl_table *table, int write, struct file *filp,
+ void __user *buffer, size_t *lenp, loff_t *ppos)
+{
+ return -ENOSYS;
+}
+
int proc_doulongvec_ms_jiffies_minmax(ctl_table *table, int write,
struct file *filp,
void __user *buffer,
\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.018 / U:0.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site