From: Andrew Morton <akpm@osdl.org>
To: Adrian Bunk <bunk@fs.tum.de>
Cc: cijoml@volny.cz, linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test4: CONFIG_KCORE_AOUT doesn't compile
Date: Tue, 26 Aug 2003 13:53:23 -0700 [thread overview]
Message-ID: <20030826135323.2c33e697.akpm@osdl.org> (raw)
In-Reply-To: <20030826105145.GC7038@fs.tum.de>
Adrian Bunk <bunk@fs.tum.de> wrote:
>
> Is there any specific reason to keep CONFIG_KCORE_AOUT or is it time to
> remove this option?
Time to kill it I suspect.
This fixes the linkage problem:
diff -puN include/linux/proc_fs.h~kcore-aout-build-fix include/linux/proc_fs.h
--- 25/include/linux/proc_fs.h~kcore-aout-build-fix Tue Aug 26 13:29:07 2003
+++ 25-akpm/include/linux/proc_fs.h Tue Aug 26 13:29:07 2003
@@ -182,12 +182,6 @@ static inline void proc_net_remove(const
remove_proc_entry(name,proc_net);
}
-/*
- * fs/proc/kcore.c
- */
-extern void kclist_add(struct kcore_list *, void *, size_t);
-extern struct kcore_list *kclist_del(void *);
-
#else
#define proc_root_driver NULL
@@ -223,6 +217,9 @@ static inline void proc_tty_unregister_d
extern struct proc_dir_entry proc_root;
+#endif /* CONFIG_PROC_FS */
+
+#if !defined(CONFIG_PROC_FS) || defined(CONFIG_KCORE_AOUT)
static inline void kclist_add(struct kcore_list *new, void *addr, size_t size)
{
}
@@ -230,8 +227,10 @@ static inline struct kcore_list * kclist
{
return NULL;
}
-
-#endif /* CONFIG_PROC_FS */
+#else
+extern void kclist_add(struct kcore_list *, void *, size_t);
+extern struct kcore_list *kclist_del(void *);
+#endif
struct proc_inode {
struct task_struct *task;
_
next prev parent reply other threads:[~2003-08-26 21:09 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-25 21:32 Can't compile 2.6.0-test4 Michal Semler (volny.cz)
2003-08-26 10:51 ` 2.6.0-test4: CONFIG_KCORE_AOUT doesn't compile Adrian Bunk
2003-08-26 12:28 ` Michal Semler (volny.cz)
2003-08-26 12:33 ` Adrian Bunk
2003-08-26 15:48 ` 2.6.0-test4 and /etc/modules.conf Michal Semler (volny.cz)
2003-08-26 16:00 ` Bas Mevissen
2003-08-26 16:37 ` Michal Semler (volny.cz)
2003-08-26 17:38 ` Emmanuele Bassi
2003-08-26 19:16 ` Felipe Alfaro Solana
2003-08-26 20:53 ` Andrew Morton [this message]
2003-08-30 7:05 ` [2.6 patch] kill CONFIG_KCORE_AOUT Adrian Bunk
2003-08-30 7:11 ` Andrew Morton
2003-08-30 7:20 ` Adrian Bunk
2003-08-30 7:29 ` Andrew Morton
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=20030826135323.2c33e697.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=bunk@fs.tum.de \
--cc=cijoml@volny.cz \
--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