kaiser: drop is_atomic arg to kaiser_pagetable_walk()
authorHugh Dickins <hughd@google.com>
Sun, 29 Oct 2017 18:36:19 +0000 (11:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Jan 2018 14:46:35 +0000 (15:46 +0100)
commit8c2f8a5cc15b90674e0144e453544b7bfb1340df
tree694ef8c004272a37f93a0684eaa35aae868a4130
parent169b369f99affebb24db16f4fed58a2f8ff4060f
kaiser: drop is_atomic arg to kaiser_pagetable_walk()

I have not observed a might_sleep() warning from setup_fixmap_gdt()'s
use of kaiser_add_mapping() in our tree (why not?), but like upstream
we have not provided a way for that to pass is_atomic true down to
kaiser_pagetable_walk(), and at startup it's far from a likely source
of trouble: so just delete the walk's is_atomic arg and might_sleep().

Signed-off-by: Hugh Dickins <hughd@google.com>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/mm/kaiser.c