OSDN Git Service

nouveau: fix IGP
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>
Tue, 23 Oct 2007 00:18:56 +0000 (02:18 +0200)
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>
Tue, 23 Oct 2007 00:19:17 +0000 (02:19 +0200)
shared-core/nouveau_mem.c

index e2f0b38..448b69d 100644 (file)
@@ -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;