public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] disallow DRM on 386
@ 2004-01-20 21:24 Adrian Bunk
  2004-01-20 22:44 ` Diego Calleja
  2004-01-21  0:04 ` [Dri-devel] " Alan Cox
  0 siblings, 2 replies; 8+ messages in thread
From: Adrian Bunk @ 2004-01-20 21:24 UTC (permalink / raw)
  To: dri-devel; +Cc: linux-kernel

I got the following compile error in 2.6.1-mm5 with X86_CMPXCHG=n.
This problem is not specific to -mm, and it always occurs when you 
include support for the 386 cpu (oposed to the 486 or later cpus) since 
in this case X86_CMPXCHG=n and therefoore cmpxchg isn't defined in 
include/asm-i386/system.h .

The patch below disallows DRM if X86_CMPXCHG=n.

Please apply
Adrian

--- linux-2.6.1-mm5/drivers/char/drm/Kconfig.old	2004-01-20 14:42:27.000000000 +0100
+++ linux-2.6.1-mm5/drivers/char/drm/Kconfig	2004-01-20 14:43:02.000000000 +0100
@@ -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

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

end of thread, other threads:[~2004-01-21 18:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-20 21:24 [2.6 patch] disallow DRM on 386 Adrian Bunk
2004-01-20 22:44 ` Diego Calleja
2004-01-20 23:03   ` Adrian Bunk
2004-01-20 23:31     ` Andrew Morton
2004-01-21  0:37       ` Adrian Bunk
2004-01-21  0:04 ` [Dri-devel] " Alan Cox
2004-01-21  0:28   ` Adrian Bunk
2004-01-21 17:56     ` Alan Cox

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