From: Antonino A. Daplas Date: Tue, 22 Nov 2005 05:32:25 +0000 (-0800) Subject: [PATCH] fbcon: Console Rotation - Fix wrong shift calculation X-Git-Tag: v2.6.15-rc3~106 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4627dea032ab1f6e472fcf030e28f22ea971f9b;p=pandora-kernel.git [PATCH] fbcon: Console Rotation - Fix wrong shift calculation The shift value (amount to shift the bitmap so first pixel starts at origin(0,0)) is incorrect. This causes corrupted characters or a kernel crash if fontwidth is not divisible by 8 at 270 degrees, or fontheight not divisible by 8 at 180 degrees. Report and part of the fix contributed by Knut Petersen. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed