Thread (6 messages) 6 messages, 3 authors, 2003-04-16

Re: [PATCH] imsttfb 2.5.x

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2003-04-15 07:04:12

On Sat, 2003-04-12 at 13:19, Boris Bezlaj wrote:
quoted hunk ↗ jump to hunk
In 2.5.67 imsttfb locks the system when it's time to scrool the text.
Patch below fixes that. Otherwise everything seems to work as in 2.4
--- linux/drivers/video/ORIG_imsttfb.c  2003-04-09 15:11:46.000000000 +0200
+++ linux/drivers/video/imsttfb.c       2003-04-11 16:44:07.000000000 +0200
@@ -409,7 +409,7 @@
 static inline u32 read_reg_le32(volatile u32 *base, int regindex)
 {
 #ifdef __powerpc__
-       in_le32((volatile u32 *) (base + regindex));
+       return in_le32((volatile u32 *) (base + regindex));
 #else
        return readl(base + regindex);
 #endif
There is actually no reason not to use readl() on ppc as well

Ben.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help