summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2007-10-23 02:18:56 +0200
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2007-10-23 02:19:17 +0200
commit9a115080e870f8196adef4a19598343e63e61e45 (patch)
treec9c8d6fa2de65c6a5491c86a17c8bfee33bb92ca /shared-core
parent22883ff26b8a45ab2bec60accc4b822cf6b4f214 (diff)
nouveau: fix IGP
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/nouveau_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/nouveau_mem.c b/shared-core/nouveau_mem.c
index e2f0b38d..448b69d3 100644
--- a/shared-core/nouveau_mem.c
+++ b/shared-core/nouveau_mem.c
@@ -223,7 +223,7 @@ void nouveau_mem_close(struct drm_device *dev)
static uint32_t
nouveau_mem_fb_amount_igp(struct drm_device *dev)
{
-#if defined(LINUX) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19))
+#if defined(__linux__) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19))
struct drm_nouveau_private *dev_priv = dev->dev_private;
struct pci_dev *bridge;
uint32_t mem;