diff options
Diffstat (limited to 'kernel/arch/x86/boot/compressed/aslr.c')
-rw-r--r-- | kernel/arch/x86/boot/compressed/aslr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/arch/x86/boot/compressed/aslr.c b/kernel/arch/x86/boot/compressed/aslr.c index d7b1f655b..6a9b96b46 100644 --- a/kernel/arch/x86/boot/compressed/aslr.c +++ b/kernel/arch/x86/boot/compressed/aslr.c @@ -82,7 +82,7 @@ static unsigned long get_random_long(void) if (has_cpuflag(X86_FEATURE_TSC)) { debug_putstr(" RDTSC"); - rdtscll(raw); + raw = rdtsc(); random ^= raw; use_i8254 = false; |