summaryrefslogtreecommitdiff
path: root/mm/bootmem_info.c
diff options
context:
space:
mode:
authorVlastimil Babka <vbabka@suse.cz>2021-11-10 14:57:43 +0300
committerVlastimil Babka <vbabka@suse.cz>2022-01-06 14:26:45 +0300
commit662188c3a20eba75babc5a910a5f1b4278069f85 (patch)
tree026874baa3973fffcd016099dc0178c6589d89e2 /mm/bootmem_info.c
parent401fb12c68c257b9c9116b1475c0ac26b646fcc0 (diff)
downloadlinux-662188c3a20eba75babc5a910a5f1b4278069f85.tar.xz
mm/slub: Simplify struct slab slabs field definition
Before commit b47291ef02b0 ("mm, slub: change percpu partial accounting from objects to pages") we had to fit two integer fields into a native word size, so we used short int on 32-bit and int on 64-bit via #ifdef. After that commit there is only one integer field, so we can simply define it as int everywhere. Signed-off-by: Vlastimil Babka <vbabka@suse.cz> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Reviewed-by: Roman Gushchin <guro@fb.com>
Diffstat (limited to 'mm/bootmem_info.c')
0 files changed, 0 insertions, 0 deletions