]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mm: remove __hugepage_set_anon_rmap()
authorKirill Tkhai <ktkhai@virtuozzo.com>
Fri, 28 Dec 2018 08:39:31 +0000 (00:39 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 28 Dec 2018 20:11:51 +0000 (12:11 -0800)
commit451b9514a59f3379d3bedd5a0e4909ef3ef1b98c
treee5815105f8e367c02547caf4730e5cd94ae617c4
parent4918e7625ffa82f388ea70538f0e1df20ea35a54
mm: remove __hugepage_set_anon_rmap()

This function is identical to __page_set_anon_rmap() since the time, when
it was introduced (8 years ago).  The patch removes the function, and
makes its users to use __page_set_anon_rmap() instead.

Link: http://lkml.kernel.org/r/154504875359.30235.6237926369392564851.stgit@localhost.localdomain
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/rmap.c