summaryrefslogtreecommitdiffstats
path: root/mm/slab_common.c
diff options
context:
space:
mode:
authorAlexey Dobriyan2018-04-06 01:20:18 +0200
committerLinus Torvalds2018-04-06 06:36:23 +0200
commitc86305743bdf3928ed7fbc685724c04bbd5331aa (patch)
tree83ab31d45ce25c312284baa6dbce08f2092bec43 /mm/slab_common.c
parentmm/slub.c: use jitter-free reference while printing age (diff)
downloadkernel-qcow2-linux-c86305743bdf3928ed7fbc685724c04bbd5331aa.tar.gz
kernel-qcow2-linux-c86305743bdf3928ed7fbc685724c04bbd5331aa.tar.xz
kernel-qcow2-linux-c86305743bdf3928ed7fbc685724c04bbd5331aa.zip
slab: fixup calculate_alignment() argument type
Link: http://lkml.kernel.org/r/20180305200730.15812-1-adobriyan@gmail.com Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Acked-by: Christoph Lameter <cl@linux.com> Cc: Pekka Enberg <penberg@kernel.org> Cc: David Rientjes <rientjes@google.com> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slab_common.c')
-rw-r--r--mm/slab_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slab_common.c b/mm/slab_common.c
index a1237d38a27e..7626a64b8f14 100644
--- a/mm/slab_common.c
+++ b/mm/slab_common.c
@@ -280,7 +280,7 @@ static inline void memcg_unlink_cache(struct kmem_cache *s)
* Figure out what the alignment of the objects will be given a set of
* flags, a user specified alignment and the size of the objects.
*/
-static unsigned long calculate_alignment(unsigned long flags,
+static unsigned long calculate_alignment(slab_flags_t flags,
unsigned long align, unsigned long size)
{
/*