x86/mm: Drop unused argument 'removed' from sync_global_pgds()
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Wed, 14 Dec 2016 23:44:03 +0000 (02:44 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 15 Dec 2016 11:46:07 +0000 (12:46 +0100)
commit5372e155a28f56122eb10db56d4130f481a89cd7
tree1eeddeb1896f41392917e513f9d32ba97ec1e112
parentaec03f89e905dca9ce4b061e03ee1da3a3eb3432
x86/mm: Drop unused argument 'removed' from sync_global_pgds()

Since commit af2cf278ef4f ("x86/mm/hotplug: Don't remove PGD entries in
remove_pagetable()") there are no callers of sync_global_pgds() which set
the 'removed' argument to 1.

Remove the argument and the related conditionals in the function.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Andy Lutomirski <luto@kernel.org>
Link: http://lkml.kernel.org/r/20161214234403.137556-1-kirill.shutemov@linux.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/pgtable_64.h
arch/x86/mm/fault.c
arch/x86/mm/init_64.c