[PATCH] fbdev: Replace memcpy with for-loop when preparing bitmap
authorAntonino A. Daplas <adaplas@gmail.com>
Fri, 29 Jul 2005 21:03:33 +0000 (14:03 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Jul 2005 22:01:14 +0000 (15:01 -0700)
commite4c5c82024f5f292c0069cf40422b8f3bf5e684e
tree09a6633c9a9d9ec388f90f1b12f2ea2553130ac3
parente1afc3f522ed088405fc8932110d338330db82bb
[PATCH] fbdev: Replace memcpy with for-loop when preparing bitmap

Do not use memcpy in fb_pad_aligned_buffer.  It is suboptimal because only
a few bytes are moved at a time.  Replace with a for-loop.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/fbmem.c