Baolin Wang
09adad1719
MIPS: Convert read_persistent_clock() to read_persistent_clock64()
...
Since struct timespec is not y2038 safe on 32bit machines, this patch
converts read_persistent_clock() to read_persistent_clock64() using
struct timespec64, as well as converting mktime() to mktime64().
Signed-off-by: Baolin Wang <[email protected] >
Acked-by: Arnd Bergmann <[email protected] >
Cc: Ralf Baechle <[email protected] >
Cc: Huacai Chen <[email protected] >
Cc: Paul Burton <[email protected] >
Cc: [email protected]
Signed-off-by: James Hogan <[email protected] >
2018-05-14 23:58:23 +01:00
Ralf Baechle
7034228792
MIPS: Whitespace cleanup.
...
Having received another series of whitespace patches I decided to do this
once and for all rather than dealing with this kind of patches trickling
in forever.
Signed-off-by: Ralf Baechle <[email protected] >
2013-02-01 10:00:22 +01:00
Stephen Hemminger
3e5c12409c
set_rtc_mmss: show warning message only once
...
Occasionally the system gets into a state where the CMOS clock has gotten
slightly ahead of current time and the periodic update of RTC fails. The
message is a nuisance and repeats spamming the log.
See: http://www.ntp.org/ntpfaq/NTP-s-trbl-spec.htm#Q-LINUX-SET-RTC-MMSS
Rather than just removing the message, make it show only once and reduce
severity since it indicates a normal and non urgent condition.
Signed-off-by: Stephen Hemminger <[email protected] >
Cc: Richard Henderson <[email protected] >
Cc: Ivan Kokshaysky <[email protected] >
Cc: Matt Turner <[email protected] >
Cc: Ralf Baechle <[email protected] >
Cc: David Howells <[email protected] >
Cc: Paul Mundt <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: "H. Peter Anvin" <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2011-01-13 08:03:07 -08:00
Adrian Bunk
02112dbc92
mips: use bcd2bin/bin2bcd
...
Changes mips to use the new bcd2bin/bin2bcd functions instead of the
obsolete BCD_TO_BIN/BIN_TO_BCD/BCD2BIN/BIN2BCD macros.
Signed-off-by: Adrian Bunk <[email protected] >
Cc: Ralf Baechle <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2008-10-20 08:52:41 -07:00
Ralf Baechle
384740dc49
MIPS: Move headfiles to new location below arch/mips/include
...
Signed-off-by: Ralf Baechle <[email protected] >
2008-10-11 16:18:52 +01:00