Skip to contentSkip to conversation

2.5.70 mmu_cr4_features

PATCH In review Jan Marek 1 participant 2 messages May 28, 2003

lore
Share & tools
lore

Jan Marek

author
#0 lore raw

PATCH 1/1 2.5.70 mmu_cr4_features

Hallo l-k,

I tried to correct a 'Missing mmu_cr4_features symbol' in the DRM modules (in my case it's i810).

I've found this symbol only in i386 and x86_64 architectures...

For me this patch works fine.

Please, rewiev and apply...

Sincerely
Jan Marek

Signature · 4 lines
Ing. Jan Marek
University of South Bohemia
Academic Computer Centre
Phone: +420-38-7772080
author
#1 lore raw
Quoted 8 lines · Jan Marek

Hallo l-k,

I tried to correct a 'Missing mmu_cr4_features symbol' in the DRM modules (in my case it's i810).

I've found this symbol only in i386 and x86_64 architectures...

For me this patch works fine.

attaching missing patch, sorry...

Sincerely
Jan Marek

Signature · 4 lines
Ing. Jan Marek
University of South Bohemia
Academic Computer Centre
Phone: +420-38-7772080
arch/i386/kernel/setup.c +2 -0
diff -urN linux-2.5.70/arch/i386/kernel/setup.c linux-2.5.70-new/arch/i386/kernel/setup.c
@@ -35,6 +35,7 @@
 #include <linux/console.h>
 #include <linux/root_dev.h>
 #include <linux/highmem.h>
+#include <linux/module.h>
 #include <video/edid.h>
 #include <asm/e820.h>
 #include <asm/mpspec.h>
@@ -58,6 +59,7 @@
 struct cpuinfo_x86 boot_cpu_data = { 0, 0, 0, 0, -1, 1, 0, 0, -1 };
 
 unsigned long mmu_cr4_features;
+EXPORT_SYMBOL(mmu_cr4_features);
 
 int acpi_disabled __initdata = 0;
 
arch/x86_64/kernel/setup.c +2 -0
diff -urN linux-2.5.70/arch/x86_64/kernel/setup.c linux-2.5.70-new/arch/x86_64/kernel/setup.c
@@ -31,6 +31,7 @@
 #include <linux/initrd.h>
 #include <linux/highmem.h>
 #include <linux/bootmem.h>
+#include <linux/module.h>
 #include <asm/processor.h>
 #include <linux/console.h>
 #include <linux/seq_file.h>
@@ -61,6 +62,7 @@
 struct cpuinfo_x86 boot_cpu_data;
 
 unsigned long mmu_cr4_features;
+EXPORT_SYMBOL(mmu_cr4_features);
 
 int acpi_disabled __initdata = 0;