Define jiffies_64 in kernel/timer.c rather than having 24 duplicated defines in each architecture.
Showing the changes to kernel/timer.c (1 of 25 files). Show all
Unified · Split
| @@ -46,6 +46,10 @@ static void time_interpolator_update(long delta_nsec); · 45 unmodified lines | ||
| 46 | 46 | #define time_interpolator_update(x) |
| 47 | 47 | #endif |
| 48 | 48 | |
| 49 | +u64 jiffies_64 __cacheline_aligned_in_smp = INITIAL_JIFFIES; | |
| 50 | + | |
| 51 | +EXPORT_SYMBOL(jiffies_64); | |
| 52 | + | |
| 49 | 53 | /* |
| 50 | 54 | * per-CPU timer vector definitions: |
| 51 | 55 | */ |