Skip to content
Commit a91eef04 authored by Saravana Kannan's avatar Saravana Kannan Committed by Sasha Levin
Browse files

module: Add support for default value for module async_probe

[ Upstream commit ae39e9ed

 ]

Add a module.async_probe kernel command line option that allows enabling
async probing for all modules. When this command line option is used,
there might still be some modules for which we want to explicitly force
synchronous probing, so extend <modulename>.async_probe to take an
optional bool input so that async probing can be disabled for a specific
module.

Signed-off-by: default avatarSaravana Kannan <saravanak@google.com>
Reviewed-by: default avatarAaron Tomlin <atomlin@redhat.com>
Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
Stable-dep-of: 8f8cd6c0

 ("modules: wait do_free_init correctly")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6304ed16
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment