Re: 2.4.19 compile warning for AMD Athlon config

John Kinsella (rfjak@gofree.indigo.ie)
Tue, 6 Aug 2002 18:09:35 +0100


On Sunday 04 August 2002 21:56, you wrote:
> amd_adv_spec_cache_feature() tries to use have_cpuid_p(), which does not
> exist in 2.4.x tree.
>

Doh,
it does of course exist, but it might benefit from a forward declaration to
suppress compiler warning.

--- 2.4.19/arch/i386/kernel/setup.c Sun Aug 4 14:17:35 2002
+++ 2.4.19/arch/i386/kernel/setup.c.tmp Tue Aug 6 14:39:58 2002
@@ -171,6 +171,8 @@
extern int root_mountflags;
extern char _text, _etext, _edata, _end;

+static int have_cpuid_p(void);
+
static int disable_x86_serial_nr __initdata = 1;
static int disable_x86_fxsr __initdata = 0;
static int disable_x86_ht __initdata = 0;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/