aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/compressed/aslr.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/boot/compressed/aslr.c')
-rw-r--r--arch/x86/boot/compressed/aslr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/boot/compressed/aslr.c b/arch/x86/boot/compressed/aslr.c
index ea33236190b1..6a9b96b4624d 100644
--- a/arch/x86/boot/compressed/aslr.c
+++ b/arch/x86/boot/compressed/aslr.c
@@ -82,7 +82,7 @@ static unsigned long get_random_long(void)
82 82
83 if (has_cpuflag(X86_FEATURE_TSC)) { 83 if (has_cpuflag(X86_FEATURE_TSC)) {
84 debug_putstr(" RDTSC"); 84 debug_putstr(" RDTSC");
85 raw = native_read_tsc(); 85 raw = rdtsc();
86 86
87 random ^= raw; 87 random ^= raw;
88 use_i8254 = false; 88 use_i8254 = false;