-#include "irq_vectors.h"
+#ifdef CONFIG_VISWS
+#include <asm/mach-visws/irq_vectors.h>
+#else
+#include <asm/mach-generic/irq_vectors.h>
+#endif
I'm afraid the whole purpose of the code was to get away from this type of
#ifdef problem. If you do this, every new mach-type added to i386 has to
modify a bunch of kernel headers.
dwmw2@infradead.org said:
> make -C /lib/modules/`uname -r`/build SUBDIRS=`pwd` modules
This looks like a clean solution to me, since most kernel packages install
this module build directory.
James
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/