Re: commit a29ccf6f823a84d89e1c7aaaf221cf7282022024 break consoleon slackware 12.1
From: Tim Bird
Date: Wed Jul 30 2008 - 16:09:26 EST
Grant Coady wrote:
> I have the same issue, the line drawing characters are displayed as an odd
> looking C with a tail. Slackware-12.1 and Slamd64-12.1.
>
> .configs:
> http://bugsplatter.mine.nu/test/boxen/pooh/config-2.6.27-rc1a.gz
> http://bugsplatter.mine.nu/test/boxen/pooh64/config-2.6.27-rc1a.gz
>
> CONFIG_CONSOLE_TRANSLATIONS=y ?? yes it's on
This looks like an operator precedence bug introduced by
the patch.
Normally I would test this myself before sending it out, but
I can't test 2.6.27-rc1 right now on my hardware due to another
bug in the 2.6.27-rc1 tree.
Can you please try the following patch and let me know if that
fixes the problem?
Thanks,
-- Tim
diff --git a/include/linux/vt_kern.h b/include/linux/vt_kern.h
index 14c0e91..8c8119f 100644
--- a/include/linux/vt_kern.h
+++ b/include/linux/vt_kern.h
@@ -74,7 +74,7 @@ void con_protect_unimap(struct vc_data *vc, int rdonly);
int con_copy_unimap(struct vc_data *dst_vc, struct vc_data *src_vc);
#define vc_translate(vc, c) ((vc)->vc_translate[(c) | \
- (vc)->vc_toggle_meta ? 0x80 : 0])
+ ((vc)->vc_toggle_meta ? 0x80 : 0)])
#else
#define con_set_trans_old(arg) (0)
#define con_get_trans_old(arg) (-EINVAL)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/