ANDROID: re-export [un]register_random_ready_notifier()

Commit e61717947a ("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:
Greg Kroah-Hartman
2022-06-24 15:45:21 +02:00
parent b993001ba8
commit 13c4af06ad

View File

@@ -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)
{