]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] Fix matroxfb compile on m68k
authorPetr Vandrovec <vandrove@vc.cvut.cz>
Fri, 27 Sep 2002 02:02:23 +0000 (19:02 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 27 Sep 2002 02:02:23 +0000 (19:02 -0700)
The m68k architecture define is __mc68000__, not __m68k__.

From Andreas Schwab <schwab@suse.de>.

drivers/video/matrox/matroxfb_base.h

index 64980ccd5574b4f6286870b6f140b776c828481d..7d50b7c681e265c3fa6bd9ad6c5a3ce1fe750117 100644 (file)
 #endif
 #endif
 
-#if defined(__alpha__) || defined(__m68k__)
+#if defined(__alpha__) || defined(__mc68000__)
 #define READx_WORKS
 #define MEMCPYTOIO_WORKS
 #else
 #endif
 #endif
 
-#if defined(__m68k__)
+#if defined(__mc68000__)
 #define MAP_BUSTOVIRT
 #else
 #define MAP_IOREMAP