changeset 31466:765facb4279f

Remove pointless __linux__ preprocessor checks. The file is only ever used if that preprocessor check is true.
author diego
date Wed, 23 Jun 2010 11:36:40 +0000
parents 65a4a8ddb552
children 98e1af7a4077
files vidix/sysdep/pci_linux.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/sysdep/pci_linux.c	Wed Jun 23 10:59:26 2010 +0000
+++ b/vidix/sysdep/pci_linux.c	Wed Jun 23 11:36:40 2010 +0000
@@ -110,7 +110,7 @@
     dhahelper_initialized = -1;
 #endif
 
-#if defined(__powerpc__) && defined(__linux__)
+#ifdef __powerpc__
 /* should be fixed? */
 #else
     if (iopl(3) != 0)
@@ -131,7 +131,7 @@
 	close(dhahelper_fd);
     else
 #endif
-#if defined(__powerpc__) && defined(__linux__)
+#ifdef __powerpc__
 /* should be fixed? */
 #else
     if (iopl(0) != 0)
@@ -141,7 +141,7 @@
 }
 
 #if (defined(__powerpc__) || defined(__sparc__) || defined(__sparc64__) \
-    || defined(__x86_64__) || defined(__sh__)) && defined(__linux__) && !defined(CONFIG_SVGAHELPER)
+    || defined(__x86_64__) || defined(__sh__)) && !defined(CONFIG_SVGAHELPER)
 #define CONFIG_PCI_LINUX_PROC
 #endif