mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 2.5.70 mmu_cr4_features
@ 2003-05-28 15:58 Jan Marek
  2003-05-28 16:00 ` Jan Marek
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Marek @ 2003-05-28 15:58 UTC (permalink / raw)
  To: linux-kernel

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
-- 
Ing. Jan Marek
University of South Bohemia
Academic Computer Centre
Phone: +420-38-7772080

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] 2.5.70 mmu_cr4_features
  2003-05-28 15:58 [PATCH] 2.5.70 mmu_cr4_features Jan Marek
@ 2003-05-28 16:00 ` Jan Marek
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Marek @ 2003-05-28 16:00 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

On Wed, May 28, 2003 at 05:58:03PM +0200, Jan Marek wrote:
> 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
-- 
Ing. Jan Marek
University of South Bohemia
Academic Computer Centre
Phone: +420-38-7772080

[-- Attachment #2: mmu_rc4_features.patch --]
[-- Type: text/plain, Size: 1280 bytes --]

diff -urN linux-2.5.70/arch/i386/kernel/setup.c linux-2.5.70-new/arch/i386/kernel/setup.c
--- linux-2.5.70/arch/i386/kernel/setup.c	2003-05-27 03:00:39.000000000 +0200
+++ linux-2.5.70-new/arch/i386/kernel/setup.c	2003-05-28 11:17:09.000000000 +0200
@@ -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;
 
diff -urN linux-2.5.70/arch/x86_64/kernel/setup.c linux-2.5.70-new/arch/x86_64/kernel/setup.c
--- linux-2.5.70/arch/x86_64/kernel/setup.c	2003-05-27 03:00:21.000000000 +0200
+++ linux-2.5.70-new/arch/x86_64/kernel/setup.c	2003-05-28 11:31:49.000000000 +0200
@@ -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;
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-28 15:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-28 15:58 [PATCH] 2.5.70 mmu_cr4_features Jan Marek
2003-05-28 16:00 ` Jan Marek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®