From: Henry N. <hen...@gm...> - 2009-12-02 02:59:56
|
from: Henry Nestler <hen...@gm...> Replace hard coded vc_cursor_type mask 0x10 with macro CUR_USE_SW. Signed-off-by: Henry Nestler <hen...@gm...> --- This patch depends on [patch 3/4], because it used new macro CUR_USE_SW 0x10. Kernel version 2.6.32-rc8 drivers/video/console/tileblit.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/console/tileblit.c b/drivers/video/console/tileblit.c --- a/drivers/video/console/tileblit.c +++ b/drivers/video/console/tileblit.c @@ -83,7 +83,7 @@ static void tile_cursor(struct vc_data *vc, struct fb_info *info, int mode, int softback_lines, int fg, int bg) { struct fb_tilecursor cursor; - int use_sw = (vc->vc_cursor_type & 0x10); + int use_sw = (vc->vc_cursor_type & CUR_USE_SW); cursor.sx = vc->vc_x; cursor.sy = vc->vc_y; === |