public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Love <rml@tech9.net>
To: "Barry K. Nathan" <barryn@pobox.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Re: [BUG] 2.4.15-pre3 compile failure
Date: 11 Nov 2001 23:32:46 -0500	[thread overview]
Message-ID: <1005539566.816.0.camel@phantasy> (raw)
In-Reply-To: <20011112042413.39000898E3@pobox.com>
In-Reply-To: <20011112042413.39000898E3@pobox.com>

On Sun, 2001-11-11 at 23:24, Barry K. Nathan wrote:
> proc_misc.c: In function `proc_misc_init':
> proc_misc.c:573: `proc_ksyms_operations' undeclared (first use in this function)proc_misc.c:573: (Each undeclared identifier is reported only once
> proc_misc.c:573: for each function it appears in.)

Hm, this was a bug in 2.4.13-ac8.  I guess Linus merged it into pre3.  I
sent Alan a patch, here it is:

--- linux-2.4.13-ac8/fs/proc/proc_misc.c	Mon Nov  5 17:34:08 2001
+++ linux/fs/proc/proc_misc.c	Mon Nov  5 18:29:55 2001
@@ -619,9 +619,11 @@
 	entry = create_proc_entry("mounts", 0, NULL);
 	if (entry)
 		entry->proc_fops = &proc_mounts_operations;
+#ifdef CONFIG_MODULES
 	entry = create_proc_entry("ksyms", 0, NULL);
 	if (entry)
 		entry->proc_fops = &proc_ksyms_operations;
+#endif
 	proc_root_kcore = create_proc_entry("kcore", S_IRUSR, NULL);
 	if (proc_root_kcore) {
 		proc_root_kcore->proc_fops = &proc_kcore_operations;

	Robert Love


      reply	other threads:[~2001-11-12  4:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-12  4:24 [BUG] 2.4.15-pre3 compile failure Barry K. Nathan
2001-11-12  4:32 ` Robert Love [this message]

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=1005539566.816.0.camel@phantasy \
    --to=rml@tech9.net \
    --cc=barryn@pobox.com \
    --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