Re: [PATCH 2.6.12.1 5/12] S2io: Performance improvements
From: "David S. Miller" <davem@davemloft.net>
Date: 2005-07-12 20:34:04
From: "David S. Miller" <davem@davemloft.net>
Date: 2005-07-12 20:34:04
From: Christoph Hellwig <hch@infradead.org> Date: Tue, 12 Jul 2005 21:27:54 +0100
quoted
+/* Enable 2 buffer mode by default for SGI system */ +#ifdef CONFIG_IA64_SGI_SN2 +#define CONFIG_2BUFF_MODE +#endifthis enabled it only on kernel that are built to only run on SN2 hardware, which is completely useless in practice. Besides that defining a CONFIG_ symbol from source files is a big no-go.
Yes, do this in the Kconfig file instead.