uml: fix build when SLOB is enabled
[safe/jmp/linux-2.6] / arch / um / kernel / mem.c
index 2eea1ff..b0ee646 100644 (file)
@@ -375,3 +375,8 @@ pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address)
        return pmd;
 }
 #endif
+
+void *uml_kmalloc(int size, int flags)
+{
+       return kmalloc(size, flags);
+}