X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=arch%2Fx86%2Fkernel%2Fhpet.c;h=c6dfd801df973039e8c00f1d48ad4058713c914d;hb=b8927721ae9d5ac0582d29d7b8c267d465ad5f00;hp=ed16e58658a4201184fd0b1d8c470f5eb3e32c1e;hpb=d3f422c8d58b2f0d68a51db88389a715dc10b4d2;p=cascardo%2Flinux.git diff --git a/arch/x86/kernel/hpet.c b/arch/x86/kernel/hpet.c index ed16e58658a4..c6dfd801df97 100644 --- a/arch/x86/kernel/hpet.c +++ b/arch/x86/kernel/hpet.c @@ -1242,7 +1242,7 @@ irqreturn_t hpet_rtc_interrupt(int irq, void *dev_id) memset(&curr_time, 0, sizeof(struct rtc_time)); if (hpet_rtc_flags & (RTC_UIE | RTC_AIE)) - mc146818_set_time(&curr_time); + mc146818_get_time(&curr_time); if (hpet_rtc_flags & RTC_UIE && curr_time.tm_sec != hpet_prev_update_sec) {