aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/slab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/slab.c b/mm/slab.c
index afe9c5f8c57a..71370256a7eb 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -1571,8 +1571,8 @@ static void set_up_list3s(struct kmem_cache *cachep, int index)
1571 * high order pages for slabs. When the gfp() functions are more friendly 1571 * high order pages for slabs. When the gfp() functions are more friendly
1572 * towards high-order requests, this should be changed. 1572 * towards high-order requests, this should be changed.
1573 */ 1573 */
1574static inline size_t calculate_slab_order(struct kmem_cache *cachep, size_t size, 1574static inline size_t calculate_slab_order(struct kmem_cache *cachep,
1575 size_t align, gfp_t flags) 1575 size_t size, size_t align, unsigned long flags)
1576{ 1576{
1577 size_t left_over = 0; 1577 size_t left_over = 0;
1578 1578