]> git.baikalelectronics.ru Git - kernel.git/commit
Xen: drop exports of {set,clear}_foreign_p2m_mapping()
authorJan Beulich <jbeulich@suse.com>
Tue, 9 Mar 2021 17:00:44 +0000 (18:00 +0100)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Wed, 10 Mar 2021 22:39:29 +0000 (16:39 -0600)
commitceef86e0a637ca3821c4209590e9637f8b78d23a
treeea2d230d8d642c5e3232881392047746b98127bf
parentd9d6069abeb41e8e731ee6aa412cb30c48895be0
Xen: drop exports of {set,clear}_foreign_p2m_mapping()

They're only used internally, and the layering violation they contain
(x86) or imply (Arm) of calling HYPERVISOR_grant_table_op() strongly
advise against any (uncontrolled) use from a module. The functions also
never had users except the ones from drivers/xen/grant-table.c forever
since their introduction in 3.15.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Link: https://lore.kernel.org/r/746a5cd6-1446-eda4-8b23-03c1cac30b8d@suse.com
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
arch/arm/xen/p2m.c
arch/x86/xen/p2m.c