mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
ANDROID: re-export [un]register_random_ready_notifier()
Commite61717947a("crypto: drbg - make reseeding from get_random_bytes() synchronous") removed the export from register_random_ready_notifier() and unregister_random_ready_notifier() but we still have external modules using those functions at the moment (fips, {sigh}) So export them again for now until that gets fixed up... Fixes:e61717947a("crypto: drbg - make reseeding from get_random_bytes() synchronous") Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I682a4f2bfcee69f207644b7d23e0e4d9b60930f0
This commit is contained in:
@@ -163,6 +163,7 @@ int __cold register_random_ready_notifier(struct notifier_block *nb)
|
||||
spin_unlock_irqrestore(&random_ready_chain_lock, flags);
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL(register_random_ready_notifier);
|
||||
|
||||
/*
|
||||
* Delete a previously registered readiness callback function.
|
||||
@@ -177,6 +178,7 @@ int __cold unregister_random_ready_notifier(struct notifier_block *nb)
|
||||
spin_unlock_irqrestore(&random_ready_chain_lock, flags);
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL(unregister_random_ready_notifier);
|
||||
|
||||
static void __cold process_random_ready_list(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user