From: Henry Nestler <henry.nestler@gmail.com>
To: geert@linux-m68k.org
Cc: trivial@kernel.org, linux-fbdev-devel@lists.sourceforge.net
Subject: [PATCH 4/4] fbcon: Replace vc_cursor_type mask 0x10 with CUR_USE_SW
Date: Wed, 2 Dec 2009 03:59:43 +0100 [thread overview]
Message-ID: <5b77f61c0912011859h83dad7bvb96fba5249c678dc@mail.gmail.com> (raw)
from: Henry Nestler <henry.nestler@gmail.com>
Replace hard coded vc_cursor_type mask 0x10 with macro CUR_USE_SW.
Signed-off-by: Henry Nestler <henry.nestler@gmail.com>
---
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;
===
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
reply other threads:[~2009-12-02 2:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5b77f61c0912011859h83dad7bvb96fba5249c678dc@mail.gmail.com \
--to=henry.nestler@gmail.com \
--cc=geert@linux-m68k.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=trivial@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).