Not quite.
As I said, -dj has an optimization in asm-i386/io.o:
> #ifdef CONFIG_MULTIQUAD
> extern void *xquad_portio; /* Where the IO area was mapped */
> #else
> #define xquad_portio (0)
> #endif
So the preprocessed smpboot.c contains gems like:
> void *(0) = ((void *)0);
...and...
> (0) = ioremap (0xfe400000,
> numnodes * 0x80000);
Even though clustered_apic_mode is 0, the compiler still complains
about the second one and the first one doesn't depend on
clustered_apic_mode at all.
I don't like spreading around more #ifdef's, but the spirit of the
changes seemed to be to get rid of the declaration of xquad_portio
when !CONFIG_MULTIQUAD. Suggestions for improvement welcome.
--Adam
-
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/