]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - lib/ts_kmp.c
ARM: OMAP2: Place SMS and SDRC into smart idle mode
[linux-2.6-omap-h63xx.git] / lib / ts_kmp.c
index e45f0f0c2379683104c43cc16c01b5564bc941cf..3ced628cab4b92dde2c3da1ca984b81e720c73c1 100644 (file)
@@ -30,7 +30,6 @@
  *   [2] See finite automation theory
  */
 
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/types.h>
 #include <linux/string.h>
@@ -87,7 +86,7 @@ static inline void compute_prefix_tbl(const u8 *pattern, unsigned int len,
 }
 
 static struct ts_config *kmp_init(const void *pattern, unsigned int len,
-                                 unsigned int __nocast gfp_mask)
+                                 gfp_t gfp_mask)
 {
        struct ts_config *conf;
        struct ts_kmp *kmp;