|
@@ -510,6 +510,11 @@ int unregister_module_notifier(struct notifier_block *nb);
|
|
|
|
|
|
extern void print_modules(void);
|
|
|
|
|
|
+static inline bool module_requested_async_probing(struct module *module)
|
|
|
+{
|
|
|
+ return module && module->async_probe_requested;
|
|
|
+}
|
|
|
+
|
|
|
#else /* !CONFIG_MODULES... */
|
|
|
|
|
|
/* Given an address, look for it in the exception tables. */
|
|
@@ -620,6 +625,12 @@ static inline int unregister_module_notifier(struct notifier_block *nb)
|
|
|
static inline void print_modules(void)
|
|
|
{
|
|
|
}
|
|
|
+
|
|
|
+static inline bool module_requested_async_probing(struct module *module)
|
|
|
+{
|
|
|
+ return false;
|
|
|
+}
|
|
|
+
|
|
|
#endif /* CONFIG_MODULES */
|
|
|
|
|
|
#ifdef CONFIG_SYSFS
|