Skip to contentSkip to conversation

trivial patch for kernel 2.4.19

PATCH Sérgio Monteiro Basto 1 participant 1 message Oct 8, 2002 ACPI

lore
Share & tools
lore
#0 lore raw

this patch is not acpi related but should be applied when use acpi-patch again kernel 2.4.19.

thanks
Sérgio

thats all :-)

arch/i386/kernel/setup.c +6 -6
@@ -742,6 +742,12 @@
 } /* setup_memory_region */
 
 
+/* Probe for the CPUID instruction */
+static int __init have_cpuid_p(void)
+{
+	return flag_is_changeable_p(X86_EFLAGS_ID);
+}
+
 int __init amd_adv_spec_cache_feature(void)
 {
 	char vendor_id[16];
@@ -2626,12 +2632,6 @@
 }
 
 
-/* Probe for the CPUID instruction */
-static int __init have_cpuid_p(void)
-{
-	return flag_is_changeable_p(X86_EFLAGS_ID);
-}
-
 /*
  * Cyrix CPUs without cpuid or with cpuid not yet enabled can be detected
  * by the fact that they preserve the flags across the division of 5/2.