Skip to contentSkip to conversation

2.6.13-rc3-mm3

DISCUSSION Sebastian Kaergel 2 participants 2 messages Jul 28, 2005

lore
Share & tools
lore
#0 lore raw

CC arch/i386/kernel/cpu/mtrr/main.o
arch/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

#1 lore raw
Quoted 10 lines · Sebastian Kaergel

CC arch/i386/kernel/cpu/mtrr/main.o
arch/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

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