]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/syscopyarea.c
slub: Drop fallback to page allocator method
[linux-2.6-omap-h63xx.git] / drivers / video / syscopyarea.c
index e3488932c7b34debf3680413103f6c6b1a0551a4..37af10ab8f52b19c570929ba2d580c269d346b52 100644 (file)
 #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