From: Andrew Morton <akpm@digeo.com>
To: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: bunk@fs.tum.de, jt@bougret.hpl.hp.com, linux-net@vger.kernel.org,
linux-kernel@vger.kernel.org, trivial@rustcorp.com.au
Subject: Re: [patch] fix vlsi_ir.c compile if !CONFIG_PROC_FS
Date: Sat, 7 Jun 2003 13:09:38 -0700 [thread overview]
Message-ID: <20030607130938.01caef92.akpm@digeo.com> (raw)
In-Reply-To: <Pine.SOL.4.30.0306071815120.6449-100000@mion.elka.pw.edu.pl>
Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl> wrote:
>
> -static inline void remove_proc_entry(const char *name, struct proc_dir_entry *parent) {};
> +#define remove_proc_entry(name, parent) /* nothing */
oh, OK.
--- 25/include/linux/proc_fs.h~remove_proc_entry-fix 2003-06-07 13:07:46.000000000 -0700
+++ 25-akpm/include/linux/proc_fs.h 2003-06-07 13:08:51.000000000 -0700
@@ -205,7 +205,8 @@ static inline void proc_pid_flush(struct
static inline struct proc_dir_entry *create_proc_entry(const char *name,
mode_t mode, struct proc_dir_entry *parent) { return NULL; }
-static inline void remove_proc_entry(const char *name, struct proc_dir_entry *parent) {};
+#define remove_proc_entry(name, parent) do {} while (0)
+
static inline struct proc_dir_entry *proc_symlink(const char *name,
struct proc_dir_entry *parent,char *dest) {return NULL;}
static inline struct proc_dir_entry *proc_mknod(const char *name,mode_t mode,
_
next prev parent reply other threads:[~2003-06-07 19:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-07 15:24 [patch] fix vlsi_ir.c compile if !CONFIG_PROC_FS Adrian Bunk
2003-06-07 15:58 ` Sam Ravnborg
2003-06-07 16:13 ` Adrian Bunk
2003-06-08 9:43 ` Martin Diehl
2003-06-07 16:22 ` Bartlomiej Zolnierkiewicz
2003-06-07 16:59 ` Adrian Bunk
2003-06-07 17:09 ` Sam Ravnborg
2003-06-07 20:09 ` Andrew Morton [this message]
2003-06-09 6:00 ` Rusty Russell
2003-06-08 9:40 ` Martin Diehl
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=20030607130938.01caef92.akpm@digeo.com \
--to=akpm@digeo.com \
--cc=B.Zolnierkiewicz@elka.pw.edu.pl \
--cc=bunk@fs.tum.de \
--cc=jt@bougret.hpl.hp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-net@vger.kernel.org \
--cc=trivial@rustcorp.com.au \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.