]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/sparc/include/asm/timer_64.h
sparc64: optimize loads in clock_sched()
[karo-tx-linux.git] / arch / sparc / include / asm / timer_64.h
index fce4150340006a73db6dd5cfe276b4396e561181..bde2cc40ae0221878467d92c732b2a412f78cb28 100644 (file)
@@ -9,7 +9,12 @@
 #include <linux/types.h>
 #include <linux/init.h>
 
+/* The most frequently accessed fields should be first,
+ * to fit into the same cacheline.
+ */
 struct sparc64_tick_ops {
+       unsigned long ticks_per_nsec_quotient;
+       unsigned long offset;
        unsigned long long (*get_tick)(void);
        int (*add_compare)(unsigned long);
        unsigned long softint_mask;