2.6.7-mm2: compile error SCHED_SMT + NUMA + gcc 2.95

Adrian Bunk
2004-06-24T20:59:42Z

I'm getting the following compile error in 2.6.7-mm2 with SCHED_SMT=y
and NUMA=y when using gcc 2.95 (it doesn't seem to be specific to -mm):

<-- snip -->

...
CC arch/i386/kernel/smpboot.o
arch/i386/kernel/smpboot.c: In function `arch_init_sched_domains':
arch/i386/kernel/smpboot.c:1195: invalid lvalue in unary `&'
arch/i386/kernel/smpboot.c:1231: invalid lvalue in unary `&'
make[1]: *** [arch/i386/kernel/smpboot.o] Error 1

<-- snip -->

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed