2.6.13-rc3-mm3
CC arch/i386/kernel/cpu/mtrr/main.oarch/i386/kernel/cpu/mtrr/main.c: In Funktion »set_mtrr«:arch/i386/kernel/cpu/mtrr/main.c:225: error: `ipi_handler' undeclared (first use in this function) arch/i386/kernel/cpu/mtrr/main.c:225: error: (Each undeclared identifier is reported only once arch/i386/kernel/cpu/mtrr/main.c:225: error: for each function it appears in.) make[3]: *** [arch/i386/kernel/cpu/mtrr/main.o] Fehler 1
make[2]: *** [arch/i386/kernel/cpu/mtrr] Fehler 2
make[1]: *** [arch/i386/kernel/cpu] Fehler 2
make: *** [arch/i386/kernel] Fehler 2
I'm in a hurry, so I got no time to see what's causing this. Config is attached.
Sebastian
Quoted 10 lines · Sebastian Kaergel
CC
arch/i386/kernel/cpu/mtrr/main.oarch/i386/kernel/cpu/mtrr/main.c: In Funktion »set_mtrr«:arch/i386/kernel/cpu/mtrr/main.c:225: error: `ipi_handler' undeclared (first use in this function)arch/i386/kernel/cpu/mtrr/main.c:225: error: (Each undeclared identifier is reported only oncearch/i386/kernel/cpu/mtrr/main.c:225: error: for each function it appears in.) make[3]: *** [arch/i386/kernel/cpu/mtrr/main.o] Fehler 1
make[2]: *** [arch/i386/kernel/cpu/mtrr] Fehler 2
make[1]: *** [arch/i386/kernel/cpu] Fehler 2
make: *** [arch/i386/kernel] Fehler 2
Quoted 3 lines
I'm in a hurry, so I got no time to see what's causing this. Config is attached.
I have the same error here (MTRR enabled and no SMP).
I solved it by adding #ifdef CONFIG_SMP around lines 224 to 226 in this file, but I am not sure it is totally safe.
I don't see why smp specific operations are not protected this way in this file.
Regards,
Alexandre