commit | 89765b9424eafb954b1ca167a00c2a10e4f025be | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Mon Oct 03 11:18:34 2016 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Oct 27 16:37:43 2016 +0200 |
tree | 57517598079fb7a63406c5204caf947f9ce8a501 | |
parent | d705ff38189fcfbbfa6aa97363d30c23348ad166 [diff] |
tty: vt, unify scrolling functions Both scrup and scrdown are copies of the same code except source and destination pointers computation. Unify those functions into a single one named con_scroll. Note that scrdown used step to compute the destination, while scrup did the computation explicitly. We sticked to the latter here. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>