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 - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
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 http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/