diff options
author | Greg Kurz <gkurz@linux.vnet.ibm.com> | 2015-05-28 15:13:14 +0200 |
---|---|---|
committer | Alexey Kardashevskiy <aik@ozlabs.ru> | 2015-05-29 14:57:07 +1000 |
commit | 57ca8e04b426aed43d51eb67805abd5eb9c4449f (patch) | |
tree | a5530b05fd37a34a5b31874b9d8ee4018b229938 /board-js2x | |
parent | 7d766a3ac9b2474f6c7da0084d43590cbbf047bf (diff) | |
download | SLOF-57ca8e04b426aed43d51eb67805abd5eb9c4449f.zip SLOF-57ca8e04b426aed43d51eb67805abd5eb9c4449f.tar.gz SLOF-57ca8e04b426aed43d51eb67805abd5eb9c4449f.tar.bz2 |
fbuffer: simplify address computations in fb8-toggle-cursor
The inner loop deals with a contiguous region. It could easily be replaced
by faster board specific functions like hv-logical-memop in board-qemu.
Since hv-logical-memop does not return an address, let's have the enclosing
loop compute the next line address by itself and drop the confusing
"char-width screen-depth * -" address adjustment.
Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'board-js2x')
0 files changed, 0 insertions, 0 deletions