Re: [PATCH] Fix unix module

From: Russell King
Date: Sun Apr 18 2004 - 03:03:47 EST

On Sun, Apr 18, 2004 at 03:32:42PM +1000, Rusty Russell wrote:
> The compiler #define's unix to 1: we use -DKBUILD_MODNAME=unix. We
> used to #undef unix at the top of af_unix.c, but now the name is
> inserted by modpost, that doesn't help.

Do we depend on this preprocessor symbol anywhere? If not, adding
-Uunix to the global CFLAGS would prevent future "accidents".

Russell King
Linux kernel 2.6 ARM Linux -
maintainer of: 2.6 PCMCIA -
2.6 Serial core
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at