]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/alpha/kernel/machvec_impl.h
alpha: fix RTC on marvel
[linux-2.6-omap-h63xx.git] / arch / alpha / kernel / machvec_impl.h
index 11f996f24fde5aa48a9775223b2d183a49886128..512685f78097a0ed5406e1e2226641cc007545c8 100644 (file)
@@ -1,12 +1,11 @@
 /*
- *     linux/arch/alpha/kernel/machvec.h
+ *     linux/arch/alpha/kernel/machvec_impl.h
  *
  *     Copyright (C) 1997, 1998  Richard Henderson
  *
  * This file has goodies to help simplify instantiation of machine vectors.
  */
 
-#include <linux/config.h>
 #include <asm/pgalloc.h>
 
 /* Whee.  These systems don't have an HAE:
 #define CAT1(x,y)  x##y
 #define CAT(x,y)   CAT1(x,y)
 
-#define DO_DEFAULT_RTC .rtc_port = 0x70
+#define DO_DEFAULT_RTC \
+       .rtc_port = 0x70, \
+       .rtc_get_time = common_get_rtc_time, \
+       .rtc_set_time = common_set_rtc_time
 
 #define DO_EV4_MMU                                                     \
        .max_asn =                      EV4_MAX_ASN,                    \
 #define __initmv __initdata
 #define ALIAS_MV(x)
 #else
-#define __initmv
+#define __initmv __initdata_refok
 
 /* GCC actually has a syntax for defining aliases, but is under some
    delusion that you shouldn't be able to declare it extern somewhere