aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJohn M. Calandrino <jmc@jupiter-cs.cs.unc.edu>2007-02-19 15:48:07 -0500
committerJohn M. Calandrino <jmc@jupiter-cs.cs.unc.edu>2007-02-19 15:48:07 -0500
commit0df772d53bf0242e14b22ae18a8c04e50388c22a (patch)
tree70b22beba202c1447ee60b8eca3b95f3383615f1 /kernel
parentc79f0bd758458f9b69548ec42789c503ac7c1130 (diff)
Fixed code according to Bjoern's suggestions.
Renamed function in timer.c, removed personal EXTRAVERSION from Makefile, changed some other small things. Aligned and staggered quanta are now working properly, Use quanta=staggered as a boot option to get staggered quanta, and no boot option (or quanta=aligned) to get aligned quanta. In most cases, quantum alignments are even more precise now than they were previously (less than 5 microseconds versus 10-20 microseconds).
Diffstat (limited to 'kernel')
-rw-r--r--kernel/timer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/timer.c b/kernel/timer.c
index 1d42f52cad..532fdde9ba 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -743,7 +743,7 @@ static inline s64 __get_nsec_offset(void)
743 * timestamp without locking. (We can't lock and are only reading, 743 * timestamp without locking. (We can't lock and are only reading,
744 * so it can only hurt us, not others.) 744 * so it can only hurt us, not others.)
745 */ 745 */
746s64 public_get_nsec_offset(void) 746s64 get_nsec_offset(void)
747{ 747{
748 cycle_t cycle_now, cycle_delta; 748 cycle_t cycle_now, cycle_delta;
749 s64 ns_offset; 749 s64 ns_offset;
@@ -759,7 +759,6 @@ s64 public_get_nsec_offset(void)
759 759
760 return ns_offset; 760 return ns_offset;
761} 761}
762EXPORT_SYMBOL(public_get_nsec_offset);
763 762
764/** 763/**
765 * __get_realtime_clock_ts - Returns the time of day in a timespec 764 * __get_realtime_clock_ts - Returns the time of day in a timespec