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)
committerYves-Alexis Perez <corsac@debian.org>
Thu, 4 Jan 2018 11:12:40 +0000 (11:12 +0000)
commit1e4cb51d5a3be6c179001f4f896a2bdbaeefc44b
treeee6ae1d0ff90ca384d34eb0be1875330f02288b7
parenteab3ed48b405e27929a6b2189336d76d79a9a67e
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>
Gbp-Pq: Topic features/all/kpti
Gbp-Pq: Name kaiser-drop-is_atomic-arg-to-kaiser_pagetable_walk.patch
arch/x86/mm/kaiser.c