From dc0e6e0544f1cb2af44e5d7a7e68acda05dec6fa Mon Sep 17 00:00:00 2001 From: "Antonino A. Daplas" Date: Tue, 8 May 2007 00:39:08 -0700 Subject: fbdev: consolidate common drawing functions into a header file Consolidate common drawing functions into a single header file. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/video/syscopyarea.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'drivers/video/syscopyarea.c') diff --git a/drivers/video/syscopyarea.c b/drivers/video/syscopyarea.c index e3488932c7b..37af10ab8f5 100644 --- a/drivers/video/syscopyarea.c +++ b/drivers/video/syscopyarea.c @@ -19,17 +19,7 @@ #include #include #include - - /* - * 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 -- cgit v1.2.3