aboutsummaryrefslogtreecommitdiff
path: root/net/lapb
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2018-10-08 12:57:34 +0200
committerBartlomiej Zolnierkiewicz <[email protected]>2018-10-08 12:57:34 +0200
commit3c6c6a7878d00a3ac997a779c5b9861ff25dfcc8 (patch)
tree03505ba828035966cf526cf33effe4f8345c0c0a /net/lapb
parentceadddde8875bda7af3824244de3d93e386d08c1 (diff)
mach64: fix display corruption on big endian machines
The code for manual bit triple is not endian-clean. It builds the variable "hostdword" using byte accesses, therefore we must read the variable with "le32_to_cpu". The patch also enables (hardware or software) bit triple only if the image is monochrome (image->depth). If we want to blit full-color image, we shouldn't use the triple code. Signed-off-by: Mikulas Patocka <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Cc: [email protected] Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions