linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / video / ffb.c
index 7633e41..9c9b21d 100644 (file)
@@ -466,7 +466,8 @@ static void ffb_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
        unsigned long flags;
        u32 fg;
 
-       BUG_ON(rect->rop != ROP_COPY && rect->rop != ROP_XOR);
+       if (rect->rop != ROP_COPY && rect->rop != ROP_XOR)
+               BUG();
 
        fg = ((u32 *)info->pseudo_palette)[rect->color];