| To: | Andi Kleen <ak@xxxxxx> |
|---|---|
| Subject: | Re: [PATCH] Fix CONFIG_COMPAT with !CONFIG_NET |
| From: | "David S. Miller" <davem@xxxxxxxxxx> |
| Date: | Wed, 1 Sep 2004 22:26:24 -0700 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <m3d617k4ex.fsf@averell.firstfloor.org> |
| References: | <m3d617k4ex.fsf@averell.firstfloor.org> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Tue, 31 Aug 2004 12:06:30 +0200 Andi Kleen <ak@xxxxxx> wrote: > Fix compilation with CONFIG_COMPAT set and CONFIG_NET disabled. I like this patch, but... > -static int ret_einval(unsigned int fd, unsigned int cmd, unsigned long arg) > +static __attribute__((used)) int > +ret_einval(unsigned int fd, unsigned int cmd, unsigned long arg) Ahem... use something in linux/compiler.h ok? :) |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: neigh_create/inetdev_destroy race?, David S. Miller |
|---|---|
| Next by Date: | Re: [PATCH] Extend lock less TX to real devices, David S. Miller |
| Previous by Thread: | Re: neigh_create/inetdev_destroy race?, David S. Miller |
| Next by Thread: | Re: [PATCH] Extend lock less TX to real devices, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |