[parisc-linux-cvs] fix stifb crashes
Helge Deller
deller@gmx.de
Tue, 23 Jul 2002 22:25:03 +0200
--Boundary-00=_fubP9PqLNGv++4X
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
On Tuesday 23 July 2002 22:24, Helge Deller wrote:
> CVSROOT: /var/cvs
> Module name: linux-2.5
> Changes by: deller 02/07/23 14:24:19
>
> Modified files:
> include/video : fbcon.h
>
> Log message:
> #define fb_readXX __raw_readXX (and fb_writeXX ..)
> makes stifb working again
--Boundary-00=_fubP9PqLNGv++4X
Content-Type: text/plain;
charset="iso-8859-1";
name="diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="diff"
Index: fbcon.h
===================================================================
RCS file: /var/cvs/linux-2.5/include/video/fbcon.h,v
retrieving revision 1.2
diff -u -p -r1.2 fbcon.h
--- fbcon.h 18 Jul 2002 16:17:21 -0000 1.2
+++ fbcon.h 23 Jul 2002 20:22:27 -0000
@@ -206,7 +206,7 @@ extern int set_all_vcs(int fbidx, struct
#define fb_writel sbus_writel
#define fb_memset sbus_memset_io
-#elif defined(__i386__) || defined(__alpha__) || defined(__x86_64__)
+#elif defined(__i386__) || defined(__alpha__) || defined(__x86_64__) || defined(__hppa__)
#define fb_readb __raw_readb
#define fb_readw __raw_readw
--Boundary-00=_fubP9PqLNGv++4X--