2.6.21-rc1-git compilation error in arch/i386/kernel/io_apic.c

From: YOSHIFUJI Hideaki / 吉藤英明
Date: Tue Feb 27 2007 - 07:24:25 EST


Hello.

I got this error with current git tree with CONFIG_SMP=n.

| CHK include/linux/compile.h
| CC arch/i386/kernel/io_apic.o
|arch/i386/kernel/io_apic.c: In function `setup_IO_APIC_irqs':
|arch/i386/kernel/io_apic.c:1357: error: structure has no member named `affinity'
|arch/i386/kernel/io_apic.c: In function `io_apic_set_pci_routing':
|arch/i386/kernel/io_apic.c:2878: error: structure has no member named `affinity'
|make[1]: *** [arch/i386/kernel/io_apic.o] Error 1
|make: *** [arch/i386/kernel] Error 2

The commit 9f0a5ba5508143731dc63235de19659be20d26dc introduced
this issue.

The affinity member is only available with CONFIG_SMP.

Regards,

--
YOSHIFUJI Hideaki @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
GPG-FP : 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/