]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/coda_linux.h
[PATCH] Fix gate_vma.vm_flags
[karo-tx-linux.git] / include / linux / coda_linux.h
index be512cc98791a31b85c0317e6f2b19e1e90c3631..4c2632a8d31b97a4fe3cdac74669a106f359e116 100644 (file)
@@ -64,7 +64,7 @@ void coda_sysctl_clean(void);
 
 #define CODA_ALLOC(ptr, cast, size) do { \
     if (size < PAGE_SIZE) \
-        ptr = (cast)kmalloc((unsigned long) size, GFP_KERNEL); \
+        ptr = kmalloc((unsigned long) size, GFP_KERNEL); \
     else \
         ptr = (cast)vmalloc((unsigned long) size); \
     if (!ptr) \