diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2007-05-08 00:39:08 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 11:15:30 -0700 |
commit | dc0e6e0544f1cb2af44e5d7a7e68acda05dec6fa (patch) | |
tree | 7f5d28d54c333c5ba84bb4b4afe3821246696818 /drivers/video/syscopyarea.c | |
parent | 52102c07a68a26fe6f8926e6a8497b577655f18a (diff) | |
download | linux-dc0e6e0544f1cb2af44e5d7a7e68acda05dec6fa.tar.gz linux-dc0e6e0544f1cb2af44e5d7a7e68acda05dec6fa.tar.bz2 linux-dc0e6e0544f1cb2af44e5d7a7e68acda05dec6fa.zip |
fbdev: consolidate common drawing functions into a header file
Consolidate common drawing functions into a single header file.
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/syscopyarea.c')
-rw-r--r-- | drivers/video/syscopyarea.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/video/syscopyarea.c b/drivers/video/syscopyarea.c index e3488932c7b3..37af10ab8f52 100644 --- a/drivers/video/syscopyarea.c +++ b/drivers/video/syscopyarea.c @@ -19,17 +19,7 @@ #include <linux/slab.h> #include <asm/types.h> #include <asm/io.h> - - /* - * Compose two values, using a bitmask as decision value - * This is equivalent to (a & mask) | (b & ~mask) - */ - -static inline unsigned long -comp(unsigned long a, unsigned long b, unsigned long mask) -{ - return ((a ^ b) & mask) ^ b; -} +#include "fb_draw.h" /* * Generic bitwise copy algorithm |