diff options
author | 2005-12-12 22:17:21 -0800 | |
---|---|---|
committer | 2005-12-12 22:31:17 -0800 | |
commit | be0d9b6c7aeaad1683059c00131cabd4c894c17c (patch) | |
tree | f7e55af855531331113cbddb98688f3901d48425 /drivers/acpi/processor_perflib.c | |
parent | [PATCH] fbdev: Shift pixel value before entering loop in cfbimageblit (diff) | |
download | linux-dev-be0d9b6c7aeaad1683059c00131cabd4c894c17c.tar.xz linux-dev-be0d9b6c7aeaad1683059c00131cabd4c894c17c.zip |
[PATCH] fbdev: Fix incorrect unaligned access in little-endian machines
The drawing function cfbfillrect does not work correctly when access is not
unsigned-long aligned. It manifests as extra lines of pixels that are not
complete drawn. Reversing the shift operator solves the problem, so I would
presume that this bug would manifest only on little endian machines. The
function cfbcopyarea may also have this bug.
Aligned access should present no problems.
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/acpi/processor_perflib.c')
0 files changed, 0 insertions, 0 deletions