UP build broken (Re: 2.6.0-test11-mm1)
From: Dagfinn Ilmari MannsÃker
Date: Wed Dec 17 2003 - 06:58:21 EST
Hi
Without CONFIG_SMP (regardless of CONFIG_X86_UP_(IO)APIC) I get the
following build error:
CC arch/i386/kernel/cpu/intel.o
In file included from arch/i386/kernel/cpu/intel.c:14:
include/asm-i386/mach-default/mach_apic.h:8: error: syntax error before "target_cpus"
include/asm-i386/mach-default/mach_apic.h:9: warning: return type defaults to `int'
include/asm-i386/mach-default/mach_apic.h: In function `target_cpus':
include/asm-i386/mach-default/mach_apic.h:13: warning: implicit declaration of function `mk_cpumask_const'
include/asm-i386/mach-default/mach_apic.h:13: warning: implicit declaration of function `cpumask_of_cpu'
include/asm-i386/mach-default/mach_apic.h: At top level:
include/asm-i386/mach-default/mach_apic.h:32: error: syntax error before "bitmap"
include/asm-i386/mach-default/mach_apic.h:33: warning: function declaration isn't a prototype
include/asm-i386/mach-default/mach_apic.h: In function `check_apicid_used':
include/asm-i386/mach-default/mach_apic.h:34: warning: implicit declaration of function `physid_isset'
include/asm-i386/mach-default/mach_apic.h:34: error: `apicid' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:34: error: (Each undeclared identifier is reported only once
include/asm-i386/mach-default/mach_apic.h:34: error: for each function it appears in.)
include/asm-i386/mach-default/mach_apic.h:34: error: `bitmap' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h: In function `check_apicid_present':
include/asm-i386/mach-default/mach_apic.h:39: error: `phys_cpu_present_map' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h: In function `init_apic_ldr':
include/asm-i386/mach-default/mach_apic.h:53: warning: implicit declaration of function `apic_write_around'
include/asm-i386/mach-default/mach_apic.h:53: error: `APIC_DFR' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:53: error: `APIC_DFR_FLAT' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:54: warning: implicit declaration of function `apic_read'
include/asm-i386/mach-default/mach_apic.h:54: error: `APIC_LDR' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:54: error: `APIC_LDR_MASK' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:55: warning: implicit declaration of function `SET_APIC_LOGICAL_ID'
include/asm-i386/mach-default/mach_apic.h: At top level:
include/asm-i386/mach-default/mach_apic.h:59: error: syntax error before "ioapic_phys_id_map"
include/asm-i386/mach-default/mach_apic.h:59: error: syntax error before "phys_map"
include/asm-i386/mach-default/mach_apic.h:60: warning: return type defaults to `int'
include/asm-i386/mach-default/mach_apic.h:60: warning: function declaration isn't a prototype
include/asm-i386/mach-default/mach_apic.h: In function `ioapic_phys_id_map':
include/asm-i386/mach-default/mach_apic.h:61: error: `phys_map' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h: In function `clustered_apic_check':
include/asm-i386/mach-default/mach_apic.h:67: error: `nr_ioapics' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h: At top level:
include/asm-i386/mach-default/mach_apic.h:91: error: syntax error before "apicid_to_cpu_present"
include/asm-i386/mach-default/mach_apic.h:92: warning: return type defaults to `int'
include/asm-i386/mach-default/mach_apic.h: In function `apicid_to_cpu_present':
include/asm-i386/mach-default/mach_apic.h:93: warning: implicit declaration of function `physid_mask_of_physid'
include/asm-i386/mach-default/mach_apic.h: At top level:
include/asm-i386/mach-default/mach_apic.h:97: warning: `struct mpc_config_translation' declared inside parameter list
include/asm-i386/mach-default/mach_apic.h:97: warning: its scope is only this definition or declaration, which is probably not what you want
include/asm-i386/mach-default/mach_apic.h:97: warning: `struct mpc_config_processor' declared inside parameter list
include/asm-i386/mach-default/mach_apic.h: In function `mpc_apic_id':
include/asm-i386/mach-default/mach_apic.h:100: error: dereferencing pointer to incomplete type
include/asm-i386/mach-default/mach_apic.h:101: error: dereferencing pointer to incomplete type
include/asm-i386/mach-default/mach_apic.h:101: error: `CPU_FAMILY_MASK' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:102: error: dereferencing pointer to incomplete type
include/asm-i386/mach-default/mach_apic.h:102: error: `CPU_MODEL_MASK' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:103: error: dereferencing pointer to incomplete type
include/asm-i386/mach-default/mach_apic.h:104: error: dereferencing pointer to incomplete type
include/asm-i386/mach-default/mach_apic.h: In function `check_phys_apicid_present':
include/asm-i386/mach-default/mach_apic.h:113: error: `phys_cpu_present_map' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h: In function `apic_id_registered':
include/asm-i386/mach-default/mach_apic.h:118: error: `APIC_ID' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:118: error: `phys_cpu_present_map' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h: At top level:
include/asm-i386/mach-default/mach_apic.h:121: error: syntax error before "cpumask"
include/asm-i386/mach-default/mach_apic.h:122: warning: function declaration isn't a prototype
include/asm-i386/mach-default/mach_apic.h: In function `cpu_mask_to_apicid':
include/asm-i386/mach-default/mach_apic.h:123: warning: implicit declaration of function `cpus_coerce_const'
include/asm-i386/mach-default/mach_apic.h:123: error: `cpumask' undeclared (first use in this function)
make[1]: *** [arch/i386/kernel/cpu/intel.o] Error 1
make: *** [arch/i386/kernel/cpu/intel.o] Error 2
--
ilmari
-
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/