Re: [PATCH] imsttfb 2.5.x
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2003-04-15 07:04:12
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:
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