search for: extyear

Displaying 4 results from an estimated 4 matches for "extyear".

2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 13/17] paravirt_ops - time updates
...: This function is required to return accurate @@ -494,13 +498,11 @@ unsigned long long sched_clock(void) return cycles_2_ns(a); } -static unsigned long get_cmos_time(void) +unsigned long do_get_cmos_time(void) { unsigned int year, mon, day, hour, min, sec; - unsigned long flags; unsigned extyear = 0; - spin_lock_irqsave(&rtc_lock, flags); do { sec = CMOS_READ(RTC_SECONDS); @@ -516,7 +518,6 @@ static unsigned long get_cmos_time(void) #endif } while (sec != CMOS_READ(RTC_SECONDS)); - spin_unlock_irqrestore(&rtc_lock, flags); /* * We know that x86-64 always uses B...
2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 13/17] paravirt_ops - time updates
...: This function is required to return accurate @@ -494,13 +498,11 @@ unsigned long long sched_clock(void) return cycles_2_ns(a); } -static unsigned long get_cmos_time(void) +unsigned long do_get_cmos_time(void) { unsigned int year, mon, day, hour, min, sec; - unsigned long flags; unsigned extyear = 0; - spin_lock_irqsave(&rtc_lock, flags); do { sec = CMOS_READ(RTC_SECONDS); @@ -516,7 +518,6 @@ static unsigned long get_cmos_time(void) #endif } while (sec != CMOS_READ(RTC_SECONDS)); - spin_unlock_irqrestore(&rtc_lock, flags); /* * We know that x86-64 always uses B...
2007 Apr 18
2
[PATCH] x86_64 paravirt_ops port
...: This function is required to return accurate @@ -494,13 +498,11 @@ unsigned long long sched_clock(void) return cycles_2_ns(a); } -static unsigned long get_cmos_time(void) +unsigned long do_get_cmos_time(void) { unsigned int year, mon, day, hour, min, sec; - unsigned long flags; unsigned extyear = 0; - spin_lock_irqsave(&rtc_lock, flags); do { sec = CMOS_READ(RTC_SECONDS); @@ -516,7 +518,6 @@ static unsigned long get_cmos_time(void) #endif } while (sec != CMOS_READ(RTC_SECONDS)); - spin_unlock_irqrestore(&rtc_lock, flags); /* * We know that x86-64 always uses B...
2007 Apr 18
2
[PATCH] x86_64 paravirt_ops port
...: This function is required to return accurate @@ -494,13 +498,11 @@ unsigned long long sched_clock(void) return cycles_2_ns(a); } -static unsigned long get_cmos_time(void) +unsigned long do_get_cmos_time(void) { unsigned int year, mon, day, hour, min, sec; - unsigned long flags; unsigned extyear = 0; - spin_lock_irqsave(&rtc_lock, flags); do { sec = CMOS_READ(RTC_SECONDS); @@ -516,7 +518,6 @@ static unsigned long get_cmos_time(void) #endif } while (sec != CMOS_READ(RTC_SECONDS)); - spin_unlock_irqrestore(&rtc_lock, flags); /* * We know that x86-64 always uses B...