Re: [PATCH] x86_64: fix jiffies ODR violation

From: Andi Kleen
Date: Mon May 18 2020 - 23:17:53 EST


> Instead, we can avoid the ODR violation by matching other arch's by
> defining jiffies only by linker script. For -fno-semantic-interposition
> + Full LTO, there is no longer a global definition of jiffies for the
> compiler to produce a local symbol which the linker script won't ensure
> aliases to jiffies_64.

I guess it was an historical accident.

Reviewed-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>