From 7108c51f553590d426f33b92b9c37244ca046b68 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Fri, 16 Aug 2019 21:01:36 +0200 Subject: Don't define cpu_delay as a compiler barrier --- arch/x86/machine/cpu.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/machine/cpu.h b/arch/x86/machine/cpu.h index 2ce14028..6d0b26f0 100644 --- a/arch/x86/machine/cpu.h +++ b/arch/x86/machine/cpu.h @@ -632,8 +632,6 @@ uint64_t cpu_get_freq(void); /* * Busy-wait for a given amount of time, in microseconds. - * - * Implies a compiler barrier. */ void cpu_delay(unsigned long usecs); -- cgit v1.2.3