The patch titled Subject: x86 mrst: fix build error when X86_MRST is not enabled has been added to the -mm tree. Its filename is x86-rtc-dont-register-a-platform-rtc-device-for-intel-mid-platforms-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ From: Randy Dunlap <rdunlap@xxxxxxxxxxxx> Subject: x86 mrst: fix build error when X86_MRST is not enabled Fix build when CONFIG_X86_INTEL_MID is enabled but CONFIG_X86_MRST is not enabled. Fixes this build error: rtc.c:(.init.text+0x2fbb): undefined reference to `__mrst_cpu_chip' Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx> Cc: Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: "H. Peter Anvin" <hpa@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxx> --- arch/x86/include/asm/mrst.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN arch/x86/include/asm/mrst.h~x86-rtc-dont-register-a-platform-rtc-device-for-intel-mid-platforms-fix arch/x86/include/asm/mrst.h --- a/arch/x86/include/asm/mrst.h~x86-rtc-dont-register-a-platform-rtc-device-for-intel-mid-platforms-fix +++ a/arch/x86/include/asm/mrst.h @@ -32,18 +32,18 @@ enum mrst_cpu_type { extern enum mrst_cpu_type __mrst_cpu_chip; -#ifdef CONFIG_X86_INTEL_MID +#ifdef CONFIG_X86_MRST static inline enum mrst_cpu_type mrst_identify_cpu(void) { return __mrst_cpu_chip; } -#else /* !CONFIG_X86_INTEL_MID */ +#else /* !CONFIG_X86_MRST */ #define mrst_identify_cpu() (0) -#endif /* !CONFIG_X86_INTEL_MID */ +#endif /* !CONFIG_X86_MRST */ enum mrst_timer_options { MRST_TIMER_DEFAULT, _ Subject: Subject: x86 mrst: fix build error when X86_MRST is not enabled Patches currently in -mm which might be from rdunlap@xxxxxxxxxxxx are origin.patch linux-next.patch drm-fix-kconfig-unmet-dependency-warning.patch x86-rtc-dont-register-a-platform-rtc-device-for-intel-mid-platforms-fix.patch drivers-scsi-megaraidc-fix-sparse-warnings.patch cross-memory-attach-update.patch consolidate-config_debug_strict_user_copy_checks-fix.patch dynamic_debug-fix-undefined-reference-to-__netdev_printk.patch leds-route-kbd-leds-through-the-generic-leds-layer.patch ipc-introduce-shm_rmid_forced-sysctl-testing.patch init-add-root=partuuid=uuid-partnroff=%d-support.patch mutex-subsystem-synchro-test-module.patch mutex-subsystem-synchro-test-module-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html