align timer_ticks to a cache line
This commit is contained in:
parent
e595fae384
commit
da8b078184
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue