mm: move dummy_vm_ops out of a header
authorMateusz Guzik <mjguzik@gmail.com>
Sun, 6 Aug 2023 23:16:11 +0000 (01:16 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 21 Aug 2023 20:37:46 +0000 (13:37 -0700)
commit9a9d0b829901125553c36b9512b2a5da4505be31
treeff5cf3036648d6be88fbd088e64127e82231abf8
parentc9d6e982c3f8703c24f488d3de15e0ee97f4655e
mm: move dummy_vm_ops out of a header

Otherwise the kernel ends up with multiple copies:
$ nm vmlinux | grep dummy_vm_ops
ffffffff81e4ea00 d dummy_vm_ops.2
ffffffff81e11760 d dummy_vm_ops.254
ffffffff81e406e0 d dummy_vm_ops.4
ffffffff81e3c780 d dummy_vm_ops.7

While here prefix it with vma_.

Link: https://lkml.kernel.org/r/20230806231611.1395735-1-mjguzik@gmail.com
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mm.h
mm/init-mm.c