summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorMartin Habets <errandir_news@mph.eclipse.co.uk>2007-05-29 10:11:57 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-05-29 11:51:24 +0200
commit5f81941c9d47f783e834028dcfb8548809da5a53 (patch)
tree8d528138012db5f8436a6822c79aea82977a8e90 /drivers/char
parent[SPARC]: Emulate cmpxchg like parisc (diff)
downloadlinux-5f81941c9d47f783e834028dcfb8548809da5a53.tar.xz
linux-5f81941c9d47f783e834028dcfb8548809da5a53.zip
[SPARC]: Mark as emulating cmpxchg, add appropriate depends for DRM.
The DRM code depends on an atomic version of cmpxchg(), which is not available on sparc32. Since other platforms besides sparc32 have this issue a KCONFIG option is added for it. Signed-off-by: Martin Habets <errandir_news@mph.eclipse.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/drm/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/Kconfig b/drivers/char/drm/Kconfig
index ef833a1c27eb..0b7ffa5191c6 100644
--- a/drivers/char/drm/Kconfig
+++ b/drivers/char/drm/Kconfig
@@ -6,7 +6,7 @@
#
config DRM
tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
- depends on (AGP || AGP=n) && PCI
+ depends on (AGP || AGP=n) && PCI && !EMULATED_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