From: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
To: Arnd Bergmann <arnd@bergmann-dalldorf.de>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] make net/ipv4/route.c compile without CONFIG_PROC_FS
Date: Tue, 10 Dec 2002 19:21:49 -0200 [thread overview]
Message-ID: <20021210212149.GN26067@conectiva.com.br> (raw)
In-Reply-To: <200212102208.31562.arnd@bergmann-dalldorf.de>
Em Tue, Dec 10, 2002 at 10:08:31PM +0100, Arnd Bergmann escreveu:
> The recent cleanup of /proc/net/rt_cache broke compiling
> without procfs, this makes it work again.
>
> ===== net/ipv4/route.c 1.31 vs edited =====
> --- 1.31/net/ipv4/route.c Sun Dec 8 03:45:58 2002
> +++ edited/net/ipv4/route.c Tue Dec 10 22:01:36 2002
> @@ -402,6 +402,11 @@
> {
> remove_proc_entry("rt_cache", proc_net);
> }
> +#else
> +
> +#define rt_cache_stat_get_info (get_info_t*)0
> +static inline int rt_cache_proc_init(void) { return 0; }
> +
> #endif /* CONFIG_PROC_FS */
>
> static __inline__ void rt_free(struct rtable *rt)
uups, sorry, but this will not be needed after I convert the rest
of net/ipv4/route.c to seq_file.
- Arnaldo
next prev parent reply other threads:[~2002-12-10 21:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-10 21:08 Arnd Bergmann
2002-12-10 21:21 ` Arnaldo Carvalho de Melo [this message]
2002-12-11 8:47 ` David S. Miller
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=20021210212149.GN26067@conectiva.com.br \
--to=acme@conectiva.com.br \
--cc=arnd@bergmann-dalldorf.de \
--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
Powered by JetHome