summaryrefslogtreecommitdiff
path: root/drivers/video/syscopyarea.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/syscopyarea.c')
-rw-r--r--drivers/video/syscopyarea.c12
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