Re: Undefined behaviour with get_cpu_vendor

From: Andreas Schwab
Date: Wed Aug 17 2005 - 05:29:39 EST


Christian Ehrhardt <ehrhardt@xxxxxxxxxxxxxxxxxxxxx> writes:

> --- arch/i386/kernel/apic.c 2005-03-26 04:28:38.000000000 +0100
> +++ arch/i386/kernel/apic.c.new 2005-08-17 11:54:48.070499352 +0200
> @@ -703,14 +703,14 @@
> static int __init detect_init_APIC (void)
> {
> u32 h, l, features;
> - extern void get_cpu_vendor(struct cpuinfo_x86*);
> + extern void get_cpu_vendor(struct cpuinfo_x86*, int);

Move the declaration to a header and include that here.

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@xxxxxxx
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
-
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/