View | Details | Raw Unified | Return to bug 302010
Collapse All | Expand All

(-)a/drivers/char/vt.c (-7 / +5 lines)
Lines 569-576 static void hide_cursor(struct vc_data *vc) Link Here
569
569
570
static void set_cursor(struct vc_data *vc)
570
static void set_cursor(struct vc_data *vc)
571
{
571
{
572
	if (!IS_FG(vc) || console_blanked ||
572
	if (!IS_FG(vc) || console_blanked || vc->vc_mode == KD_GRAPHICS)
573
	    vc->vc_mode == KD_GRAPHICS)
574
		return;
573
		return;
575
	if (vc->vc_deccm) {
574
	if (vc->vc_deccm) {
576
		if (vc == sel_cons)
575
		if (vc == sel_cons)
Lines 3748-3754 static int con_font_get(struct vc_data *vc, struct console_font_op *op) Link Here
3748
	int rc = -EINVAL;
3747
	int rc = -EINVAL;
3749
	int c;
3748
	int c;
3750
3749
3751
	if (vc->vc_mode != KD_TEXT)
3750
	if (!IS_FG(vc) || vc->vc_mode != KD_TEXT)
3752
		return -EINVAL;
3751
		return -EINVAL;
3753
3752
3754
	if (op->data) {
3753
	if (op->data) {
Lines 3803-3809 static int con_font_set(struct vc_data *vc, struct console_font_op *op) Link Here
3803
	int rc = -EINVAL;
3802
	int rc = -EINVAL;
3804
	int size;
3803
	int size;
3805
3804
3806
	if (vc->vc_mode != KD_TEXT)
3805
	if (!IS_FG(vc) || vc->vc_mode != KD_TEXT)
3807
		return -EINVAL;
3806
		return -EINVAL;
3808
	if (!op->data)
3807
	if (!op->data)
3809
		return -EINVAL;
3808
		return -EINVAL;
Lines 3861-3867 static int con_font_default(struct vc_data *vc, struct console_font_op *op) Link Here
3861
	char *s = name;
3860
	char *s = name;
3862
	int rc;
3861
	int rc;
3863
3862
3864
	if (vc->vc_mode != KD_TEXT)
3863
	if (!IS_FG(vc) || vc->vc_mode != KD_TEXT)
3865
		return -EINVAL;
3864
		return -EINVAL;
3866
3865
3867
	if (!op->data)
3866
	if (!op->data)
Lines 3889-3895 static int con_font_copy(struct vc_data *vc, struct console_font_op *op) Link Here
3889
	int con = op->height;
3888
	int con = op->height;
3890
	int rc;
3889
	int rc;
3891
3890
3892
	if (vc->vc_mode != KD_TEXT)
3891
	if (!IS_FG(vc) || vc->vc_mode != KD_TEXT)
3893
		return -EINVAL;
3892
		return -EINVAL;
3894
3893
3895
	acquire_console_sem();
3894
	acquire_console_sem();
3896
- 

Return to bug 302010