diff options
author | J William Piggott | 2017-03-25 19:29:24 +0100 |
---|---|---|
committer | J William Piggott | 2017-03-31 16:04:53 +0200 |
commit | c47a61894b35c51bb86a69ddfa638b617452b531 (patch) | |
tree | 0dd342c63265952a76a6b73974ac22981719bb27 /sys-utils/hwclock.h | |
parent | tests: add --mountpoint to findmnt calls (diff) | |
download | kernel-qcow2-util-linux-c47a61894b35c51bb86a69ddfa638b617452b531.tar.gz kernel-qcow2-util-linux-c47a61894b35c51bb86a69ddfa638b617452b531.tar.xz kernel-qcow2-util-linux-c47a61894b35c51bb86a69ddfa638b617452b531.zip |
hwclock: remove alpha cmos
Remove alpha direct I/O access, use RTC instead:
http://marc.info/?l=util-linux-ng&m=141682406902804
Resolves the alpha 2020 issue for util-linux:
http://marc.info/?l=util-linux-ng&m=148387021519787
Now it is only the kernel's RTC problem.
* sys-utils/hwclock.c: remove alpha cmos
* sys-utils/hwclock-cmos.c: same
* sys-utils/hwclock.h: same
* sys-utils/hwclock.8.in: same
Signed-off-by: J William Piggott <elseifthen@gmx.com>
Diffstat (limited to 'sys-utils/hwclock.h')
-rw-r--r-- | sys-utils/hwclock.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sys-utils/hwclock.h b/sys-utils/hwclock.h index 383b97087..f090ed7ca 100644 --- a/sys-utils/hwclock.h +++ b/sys-utils/hwclock.h @@ -32,12 +32,6 @@ struct hwclock_control { hctosys:1, utc:1, systohc:1, -#ifdef __alpha__ - ARCconsole:1, - Jensen:1, - SRM:1, - funky_toy:1, -#endif #ifdef __linux__ getepoch:1, setepoch:1, @@ -71,9 +65,6 @@ typedef int bool; extern int debug; extern unsigned long epoch_option; extern double time_diff(struct timeval subtrahend, struct timeval subtractor); -/* cmos.c */ -extern void set_cmos_epoch(const struct hwclock_control *ctl); -extern void set_cmos_access(const struct hwclock_control *ctl); /* rtc.c */ extern int get_epoch_rtc(const struct hwclock_control *ctl, unsigned long *epoch, int silent); |