diff --git a/arch/x86/kernel/timer.c b/arch/x86/kernel/timer.c index 3df35d03..43c73808 100644 --- a/arch/x86/kernel/timer.c +++ b/arch/x86/kernel/timer.c @@ -33,7 +33,7 @@ * This will keep track of how many ticks the system * has been running for */ -static volatile uint64_t timer_ticks = 0; +static volatile uint64_t timer_ticks __attribute__ ((aligned (CACHE_LINE))) = 0; uint64_t get_clock_tick(void) {