Subject: Re: [PATCH] Fix CONFIG_COMPAT with !CONFIG_NET

From: "David S. Miller" <[email-masked]>
Date: Wed, 1 Sep 2004 22:26:24 -0700

On Tue, 31 Aug 2004 12:06:30 +0200
Andi Kleen <[email-masked]> 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? :)