This commit is contained in:
Dr Amr Osman 2024-10-31 10:15:27 +03:00 committed by GitHub
commit ba73cd3fd0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,6 +5,12 @@
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/tsc.h> #include <asm/tsc.h>
/*
* Fix for vmware installer failure to build vmmon and vmnet kernel modules
* as random_get_entropy_fallback() is not found in this unit.
*/
extern unsigned long random_get_entropy_fallback(void);
static inline unsigned long random_get_entropy(void) static inline unsigned long random_get_entropy(void)
{ {
if (!IS_ENABLED(CONFIG_X86_TSC) && if (!IS_ENABLED(CONFIG_X86_TSC) &&