]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
hwclock: exclude also i386 from CMOS auto-probing
authorKarel Zak <kzak@redhat.com>
Tue, 13 Jan 2015 12:47:48 +0000 (13:47 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 13 Jan 2015 12:47:48 +0000 (13:47 +0100)
sys-utils/hwclock.c

index 88d1e3c9bb4798beff2a01807fb99b97bf07be20..ca61a917ddae38c1e0b6e4f6bad0d2e0652f9065 100644 (file)
@@ -1243,9 +1243,9 @@ static void determine_clock_access_method(const bool user_requests_ISA)
                ur = probe_for_rtc_clock();
 #endif
 
-#if defined(__i386__) || defined(__alpha__)
-       /* CMOS is also available for x86_64, but we don't check it automatically,
-        * --directisa has to be excplicitly specified */
+#if defined(__alpha__)
+       /* CMOS is also available for x86_64 and i386, but we don't check it
+        * automatically,* --directisa has to be excplicitly specified */
        if (!ur && !user_requests_ISA)
                ur = probe_for_cmos_clock();
 #endif