From: Pavel Pisa Date: Tue, 16 Oct 2007 08:29:55 +0000 (-0700) Subject: fbdev: copyarea function taught to fully support swapped pixel order in byte X-Git-Tag: v2.6.24-rc1~846 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15afdd433610c4ba0edf1f8a59915b3755af7365;p=pandora-kernel.git fbdev: copyarea function taught to fully support swapped pixel order in byte This correct case, when source and destination X coordinates difference is n multiple of pixels in byte. This is probably rare case, but this case should supported for completeness. Reorganization of FB_READL and FB_WRITEL calls results in code size decrease for normal build without swapping support and size with support enabled is reasonable too. [adaplas] Add missing fb_rev_pixels_in_long() prototype. Signed-off-by: Pavel Pisa Signed-off-by: Antonino Daplas [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed