Skip to contentSkip to conversation

for linux-2.6-merge.hg

PATCH In review Tobias Hunger 3 participants 3 messages Dec 9, 2005 – Dec 10, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 for linux-2.6-merge.hg

Hi!

Attached you will find two trivial exports from my hg repository. Both are needed to build a kernel that comes close to the standard ubuntu one.

The first adds #include <linux/sched.h> to include/asm-i386/mach-xen/asm/pgtable-2level.h. Without that the definition of mm_init is missing there.

The second stops MCA support from getting enabled when Xen is enabled. IIRC MCA is not supported by Xen (please correct me if I am wrong) and some drivers needing that fail to build without this fix.

Best Regards,
Tobias

# HG changeset patch
# User [email protected]
# Node ID 14171b0776faa0bcd9c382c8de832a7064b3859f # Parent a706089c0b016177734ad30ee7da3c572f13b88e Include sched.h for mm_init.

include/asm-i386/mach-xen/asm/pgtable-2level.h +1 -0
diff -r a706089c0b01 -r 14171b0776fa include/asm-i386/mach-xen/asm/pgtable-2level.h
@@ -2,6 +2,7 @@
 #define _I386_PGTABLE_2LEVEL_H
 
 #include <asm-generic/pgtable-nopmd.h>
+#include <linux/sched.h>
 
 #define pte_ERROR(e) \
 	printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, (e).pte_low)

# HG changeset patch
# User [email protected]
# Node ID ec2325c90360430c87d1681fe2cb8311d529f232 # Parent 14171b0776faa0bcd9c382c8de832a7064b3859f Disable MCA for Xen.

arch/i386/Kconfig +1 -1
diff -r 14171b0776fa -r ec2325c90360 arch/i386/Kconfig
@@ -990,7 +990,7 @@
 source "drivers/eisa/Kconfig"
 
 config MCA
-	bool "MCA support" if !(X86_VISWS || X86_VOYAGER)
+	bool "MCA support" if !(X86_VISWS || X86_VOYAGER || X86_XEN)
 	default y if X86_VOYAGER
 	help
 	  MicroChannel Architecture is found in some IBM PS/2 machines and

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

Hi,

Quoted 6 lines · Tobias Hunger

Attached you will find two trivial exports from my hg repository. Both are needed to build a kernel that comes close to the standard ubuntu one.

The first adds #include <linux/sched.h> to include/asm-i386/mach-xen/asm/pgtable-2level.h. Without that the definition of mm_init is missing there.

Yes, I posted a patch for that here on Monday. That version also includes the same fix for pgtable-3level.h; it needs fixed too, else PAE remains broken.

--Stephen

#2 lore raw
Quoted 3 lines · Stephen Tweedie

Yes, I posted a patch for that here on Monday. That version also includes the same fix for pgtable-3level.h; it needs fixed too, else PAE remains broken.

This is in the pipeline now.

Thanks,

Signature · 1 line
Vincent Hanquez