mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 04:53:36 +01:00
Fixes vmware failure to build modules
Fixes failure of vmware installer to build vmmon and vmnet kernel modules as random_get_entropy_fallback() is not found in the included files from this file.
This commit is contained in:
parent
7367539ad4
commit
03c7d99f89
1 changed files with 7 additions and 0 deletions
|
@ -5,6 +5,13 @@
|
|||
#include <asm/processor.h>
|
||||
#include <asm/tsc.h>
|
||||
|
||||
/*
|
||||
Fixes failure of vmware installer to build vmmon and vmnet kernel modules
|
||||
as random_get_entropy_fallback() is not found in the included files from this
|
||||
file.
|
||||
*/
|
||||
extern unsigned long random_get_entropy_fallback(void);
|
||||
|
||||
static inline unsigned long random_get_entropy(void)
|
||||
{
|
||||
if (!IS_ENABLED(CONFIG_X86_TSC) &&
|
||||
|
|
Loading…
Reference in a new issue