projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a25e41
)
fbcon: bgcolor fix
author
Stefano Stabellini
<
[email protected]
>
Thu, 24 Jul 2008 04:31:48 +0000
(21:31 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 24 Jul 2008 17:47:41 +0000
(10:47 -0700)
The fourth bit of the background color is the blink property bit, not the
intensity bit, as for the foreground color. Therefore it shouldn't be
included in the background color.
Signed-off-by: Stefano Stabellini <
[email protected]
>
Cc: Krzysztof Helt <
[email protected]
>
Cc: "Antonino A. Daplas" <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/video/console/fbcon.h
patch
|
blob
|
history
diff --git
a/drivers/video/console/fbcon.h
b/drivers/video/console/fbcon.h
index 0135e03954562713a83b8839b3cd4f57fc21de3b..beb6a74fc7f21a7a82394e340649670668e273c0 100644
(file)
--- a/
drivers/video/console/fbcon.h
+++ b/
drivers/video/console/fbcon.h
@@
-92,7
+92,7
@@
struct fbcon_ops {
#define attr_fgcol(fgshift,s) \
(((s) >> (fgshift)) & 0x0f)
#define attr_bgcol(bgshift,s) \
- (((s) >> (bgshift)) & 0x0
f
)
+ (((s) >> (bgshift)) & 0x0
7
)
/* Monochrome */
#define attr_bold(s) \