linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Magnus Damm <damm@opensource.se>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] mm4: add-do_proc_doulonglongvec_minmax-to-sysctl-functions
Date: Wed, 10 Nov 2004 15:14:20 +0100	[thread overview]
Message-ID: <1100096060.8660.76.camel@localhost> (raw)

[-- Attachment #1: Type: text/plain, Size: 78 bytes --]

Heya,

This patch makes the code compile with CONFIG_SYSCTL unset.

/ magnus


[-- Attachment #2: linux-2.6.10-rc1-mm4-no_sysctl.patch --]
[-- Type: text/x-patch, Size: 596 bytes --]

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,

                 reply	other threads:[~2004-11-10 14:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1100096060.8660.76.camel@localhost \
    --to=damm@opensource.se \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).