Skip to contentSkip to conversation

cmpxchg(8b) fixes.

PATCH In review Paweł Sikora 1 participant 3 messages Aug 7, 2004 – Aug 8, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cmpxchg(8b) fixes.

Could someone look at this and fix/apply?

Signature · 3 lines
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */

                           #define say(x) lie(x)
arch/i386/Kconfig renamed from arch/i386/Kconfig.orig +5 -0
@@ -342,6 +342,11 @@
 	depends on !M386
 	default y
 
+config X86_CMPXCHG8B
+	bool
+	depends on !M386 && !M486
+	default y
+
 config X86_XADD
 	bool
 	depends on !M386
arch/x86_64/Kconfig renamed from arch/x86_64/Kconfig.orig +4 -0
@@ -45,6 +45,10 @@
 	bool
 	default y
 
+config X86_CMPXCHG8B
+	bool
+	default y
+
 config EARLY_PRINTK
 	bool
 	default y
drivers/acpi/Kconfig renamed from drivers/acpi/Kconfig.orig +2 -2
@@ -5,11 +5,11 @@
 menu "ACPI (Advanced Configuration and Power Interface) Support"
 	depends on !X86_VISWS
 	depends on !IA64_HP_SIM
-	depends on IA64 || X86
+	depends on IA64 || X86_CMPXCHG
 
 config ACPI
 	bool "ACPI Support"
-	depends on IA64 || X86
+	depends on IA64 || X86_CMPXCHG
 
 	default y
 	---help---
drivers/char/drm/Kconfig renamed from drivers/char/drm/Kconfig.orig +1 -0
@@ -6,6 +6,7 @@
 #
 config DRM
 	bool "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
+	depends on !X86 || X86_CMPXCHG
 	help
 	  Kernel-level support for the Direct Rendering Infrastructure (DRI)
 	  introduced in XFree86 4.0. If you say Y here, you need to select
include/asm-i386/system.h renamed from include/asm-i386/system.h.orig +43 -40

140 lines not on this page · raw message

#1 lore raw

and this one too...

Signature · 3 lines
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */

                           #define say(x) lie(x)
include/asm-i386/fixmap.h renamed from include/asm-i386/fixmap.h.orig +2 -0
@@ -15,7 +15,9 @@
 
 #include <linux/config.h>
 #include <linux/kernel.h>
+#ifdef CONFIG_ACPI_BOOT
 #include <asm/acpi.h>
+#endif
 #include <asm/apicdef.h>
 #include <asm/page.h>
 #ifdef CONFIG_HIGHMEM
#2 lore raw

Re: [fixed-PATCH] cmpxchg(8b).

In reply to Paweł Sikora
arch/i386/Kconfig renamed from arch/i386/Kconfig.orig +5 -0
@@ -342,6 +342,11 @@
 	depends on !M386
 	default y
 
+config X86_CMPXCHG8B
+	bool
+	depends on !M386 && !M486
+	default y
+
 config X86_XADD
 	bool
 	depends on !M386
arch/x86_64/Kconfig renamed from arch/x86_64/Kconfig.orig +4 -0
@@ -45,6 +45,10 @@
 	bool
 	default y
 
+config X86_CMPXCHG8B
+	bool
+	default y
+
 config EARLY_PRINTK
 	bool
 	default y
drivers/acpi/Kconfig renamed from drivers/acpi/Kconfig.orig +2 -2
@@ -5,11 +5,11 @@
 menu "ACPI (Advanced Configuration and Power Interface) Support"
 	depends on !X86_VISWS
 	depends on !IA64_HP_SIM
-	depends on IA64 || X86
+	depends on IA64 || X86_CMPXCHG
 
 config ACPI
 	bool "ACPI Support"
-	depends on IA64 || X86
+	depends on IA64 || X86_CMPXCHG
 
 	default y
 	---help---
drivers/char/drm/Kconfig renamed from drivers/char/drm/Kconfig.orig +1 -0
@@ -6,6 +6,7 @@
 #
 config DRM
 	bool "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
+	depends on !X86 || X86_CMPXCHG
 	help
 	  Kernel-level support for the Direct Rendering Infrastructure (DRI)
 	  introduced in XFree86 4.0. If you say Y here, you need to select
include/asm-i386/fixmap.h renamed from include/asm-i386/fixmap.h.orig +2 -0
@@ -15,7 +15,9 @@
 
 #include <linux/config.h>
 #include <linux/kernel.h>
+#ifdef CONFIG_ACPI_BOOT
 #include <asm/acpi.h>
+#endif
 #include <asm/apicdef.h>
 #include <asm/page.h>
 #ifdef CONFIG_HIGHMEM
include/asm-i386/system.h renamed from include/asm-i386/system.h.orig +40 -36

113 lines not on this page · raw message