aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slab.c')
-rw-r--r--mm/slab.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mm/slab.c b/mm/slab.c
index 09187517f9dc..a14787799014 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -3686,9 +3686,9 @@ void *__kmalloc_node(size_t size, gfp_t flags, int node)
3686EXPORT_SYMBOL(__kmalloc_node); 3686EXPORT_SYMBOL(__kmalloc_node);
3687 3687
3688void *__kmalloc_node_track_caller(size_t size, gfp_t flags, 3688void *__kmalloc_node_track_caller(size_t size, gfp_t flags,
3689 int node, void *caller) 3689 int node, unsigned long caller)
3690{ 3690{
3691 return __do_kmalloc_node(size, flags, node, caller); 3691 return __do_kmalloc_node(size, flags, node, (void *)caller);
3692} 3692}
3693EXPORT_SYMBOL(__kmalloc_node_track_caller); 3693EXPORT_SYMBOL(__kmalloc_node_track_caller);
3694#else 3694#else
@@ -3730,9 +3730,9 @@ void *__kmalloc(size_t size, gfp_t flags)
3730} 3730}
3731EXPORT_SYMBOL(__kmalloc); 3731EXPORT_SYMBOL(__kmalloc);
3732 3732
3733void *__kmalloc_track_caller(size_t size, gfp_t flags, void *caller) 3733void *__kmalloc_track_caller(size_t size, gfp_t flags, unsigned long caller)
3734{ 3734{
3735 return __do_kmalloc(size, flags, caller); 3735 return __do_kmalloc(size, flags, (void *)caller);
3736} 3736}
3737EXPORT_SYMBOL(__kmalloc_track_caller); 3737EXPORT_SYMBOL(__kmalloc_track_caller);
3738 3738