X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=drivers%2Fvideo%2Fcfbimgblt.c;h=8ba6152db2fdb4bc659b289adecf798cdd7f43e9;hb=6c763eb9ead86c612492b59287b36c0dcf7d09b1;hp=910e2338a27e3a38c7c182bcfcfe6f7e9d9c2864;hpb=041387d98460b3947587929ef3a4773b8c48538f;p=linux-2.6-omap-h63xx.git diff --git a/drivers/video/cfbimgblt.c b/drivers/video/cfbimgblt.c index 910e2338a27..8ba6152db2f 100644 --- a/drivers/video/cfbimgblt.c +++ b/drivers/video/cfbimgblt.c @@ -169,7 +169,7 @@ static inline void slow_imageblit(const struct fb_image *image, struct fb_info * while (j--) { l--; - color = (*s & 1 << (FB_BIT_NR(l))) ? fgcolor : bgcolor; + color = (*s & (1 << l)) ? fgcolor : bgcolor; val |= FB_SHIFT_HIGH(color, shift); /* Did the bitshift spill bits to the next long? */