C files should include the header files that prototype their functions. This keeps the types in sync, and eliminates warnings from GCC (-Wmissing-prototypes) and Sparse (-Wdecl).
arch/x86/kernel/apic/apic_flat_64.c:46:6: warning: no previous prototype for ‘flat_init_apic_ldr’ [-Wmissing-prototypes] Signed-off-by: Josh Triplett <[email protected]> --- arch/x86/kernel/apic/apic_flat_64.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/apic/apic_flat_64.c b/arch/x86/kernel/apic/apic_flat_64.c index 00c77cf..3cdd11a 100644 --- a/arch/x86/kernel/apic/apic_flat_64.c +++ b/arch/x86/kernel/apic/apic_flat_64.c @@ -19,6 +19,7 @@ #include <linux/module.h> #include <asm/smp.h> #include <asm/apic.h> +#include <asm/apic_flat_64.h> #include <asm/ipi.h> #ifdef CONFIG_ACPI -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

