summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/mc146818rtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/mc146818rtc.h')
-rw-r--r--arch/x86/include/asm/mc146818rtc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/mc146818rtc.h b/arch/x86/include/asm/mc146818rtc.h
index a55c7efcc4ed..0f555cc31984 100644
--- a/arch/x86/include/asm/mc146818rtc.h
+++ b/arch/x86/include/asm/mc146818rtc.h
@@ -13,7 +13,7 @@
#define RTC_ALWAYS_BCD 1 /* RTC operates in binary mode */
#endif
-#if defined(CONFIG_X86_32) && defined(__HAVE_ARCH_CMPXCHG)
+#if defined(CONFIG_X86_32)
/*
* This lock provides nmi access to the CMOS/RTC registers. It has some
* special properties. It is owned by a CPU and stores the index register