[PATCH] fbdev: stack reduction
Shrink the stack when calling the drawing alignment functions. Signed-off-by: James Simmons <jsimmons@www.infradead.org> Cc: "Antonino A. Daplas" <adaplas@hotpop.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
303b86d991
commit
f1ab5dac25
@@ -58,13 +58,10 @@ int soft_cursor(struct fb_info *info, struct fb_cursor *cursor)
|
||||
} else
|
||||
memcpy(src, image->data, dsize);
|
||||
|
||||
fb_sysmove_buf_aligned(info, &info->pixmap, dst, d_pitch, src,
|
||||
s_pitch, image->height);
|
||||
|
||||
fb_pad_aligned_buffer(dst, d_pitch, src, s_pitch, image->height);
|
||||
image->data = dst;
|
||||
info->fbops->fb_imageblit(info, image);
|
||||
kfree(src);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user