Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213508
b: refs/heads/master
c: 432c9ed
h: refs/heads/master
v: v3
  • Loading branch information
Nicolas Pitre authored and Greg Kroah-Hartman committed Oct 22, 2010
1 parent c0cadad commit 8c18383
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 47725ac76f51328d467b1430dfd027aba8706a11
refs/heads/master: 432c9ed22aff641039ccd400cdabf983fabc285e
2 changes: 2 additions & 0 deletions trunk/drivers/char/vc_screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,8 @@ vcs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos)
}
*ppos += written;
ret = written;
if (written)
vcs_scr_updated(vc);

unlock_out:
release_console_sem();
Expand Down
5 changes: 5 additions & 0 deletions trunk/drivers/char/vt.c
Original file line number Diff line number Diff line change
Expand Up @@ -4182,6 +4182,11 @@ void vcs_scr_writew(struct vc_data *vc, u16 val, u16 *org)
}
}

void vcs_scr_updated(struct vc_data *vc)
{
notify_update(vc);
}

/*
* Visible symbols for modules
*/
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/selection.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@ extern void putconsxy(struct vc_data *vc, unsigned char *p);

extern u16 vcs_scr_readw(struct vc_data *vc, const u16 *org);
extern void vcs_scr_writew(struct vc_data *vc, u16 val, u16 *org);
extern void vcs_scr_updated(struct vc_data *vc);

#endif

0 comments on commit 8c18383

Please sign in to comment.