The patch titled
     x86_64-support-poll-on-dev-mcelog fix
has been added to the -mm tree.  Its filename is
     x86_64-support-poll-on-dev-mcelog-fix.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: x86_64-support-poll-on-dev-mcelog fix
From: William Lee Irwin III <[EMAIL PROTECTED]>

The build fails with the following error when CONFIG_X86_MCE is not set:
arch/x86_64/kernel/built-in.o: In function `do_notify_resume':
/mnt/g/mm-2.6.22-rc2/arch/x86_64/kernel/signal.c:478: undefined reference to 
`mce_notify_user'
The following patch #ifdef's the offending call as a minimal fix.

Signed-off-by: William Irwin <[EMAIL PROTECTED]>
Cc: Tim Hockin <[EMAIL PROTECTED]>
Cc: Andi Kleen <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 arch/x86_64/kernel/signal.c |    2 ++
 1 file changed, 2 insertions(+)

diff -puN arch/x86_64/kernel/signal.c~x86_64-support-poll-on-dev-mcelog-fix 
arch/x86_64/kernel/signal.c
--- a/arch/x86_64/kernel/signal.c~x86_64-support-poll-on-dev-mcelog-fix
+++ a/arch/x86_64/kernel/signal.c
@@ -473,9 +473,11 @@ do_notify_resume(struct pt_regs *regs, v
                clear_thread_flag(TIF_SINGLESTEP);
        }
 
+#ifdef CONFIG_X86_MCE
        /* notify userspace of pending MCEs */
        if (thread_info_flags & _TIF_MCE_NOTIFY)
                mce_notify_user();
+#endif /* CONFIG_X86_MCE */
 
        /* deal with pending signal delivery */
        if (thread_info_flags & (_TIF_SIGPENDING|_TIF_RESTORE_SIGMASK))
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

quicklist-support-for-x86_64.patch
x86_64-support-poll-on-dev-mcelog-fix.patch
rework-ptep_set_access_flags-and-fix-sun4c.patch
only-allow-nonlinear-vmas-for-ram-backed-filesystems.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to