From c47a61894b35c51bb86a69ddfa638b617452b531 Mon Sep 17 00:00:00 2001 From: J William Piggott Date: Sat, 25 Mar 2017 14:29:24 -0400 Subject: 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 --- sys-utils/hwclock.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'sys-utils/hwclock.h') 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); -- cgit v1.2.3-55-g7522