summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/cow_sys.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/drivers/cow_sys.h')
-rw-r--r--arch/um/drivers/cow_sys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/cow_sys.h b/arch/um/drivers/cow_sys.h
index ca8c9e11a39..f5701fd2ef9 100644
--- a/arch/um/drivers/cow_sys.h
+++ b/arch/um/drivers/cow_sys.h
@@ -8,7 +8,7 @@
static inline void *cow_malloc(int size)
{
- return kmalloc(size, UM_GFP_KERNEL);
+ return uml_kmalloc(size, UM_GFP_KERNEL);
}
static inline void cow_free(void *ptr)