align timer_ticks to a cache line

This commit is contained in:
Stefan Lankes 2011-07-18 09:32:52 +02:00
parent e595fae384
commit da8b078184

View file

@ -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)
{