[PATCH] Additions to .data.read_mostly section
Mark variables which are usually accessed for reads with __readmostly. Signed-off-by: Alok N Kataria <alokk@calsoftinc.com> Signed-off-by: Shai Fultheim <shai@scalex86.org> Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
39ed3fdeec
commit
6c231b7bab
@@ -19,7 +19,7 @@
|
||||
#include <asm/hpet.h>
|
||||
|
||||
static unsigned long hpet_usec_quotient __read_mostly; /* convert hpet clks to usec */
|
||||
static unsigned long tsc_hpet_quotient; /* convert tsc to hpet clks */
|
||||
static unsigned long tsc_hpet_quotient __read_mostly; /* convert tsc to hpet clks */
|
||||
static unsigned long hpet_last; /* hpet counter value at last tick*/
|
||||
static unsigned long last_tsc_low; /* lsb 32 bits of Time Stamp Counter */
|
||||
static unsigned long last_tsc_high; /* msb 32 bits of Time Stamp Counter */
|
||||
|
Reference in New Issue
Block a user