Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=01f1c735f57548e6b862e815cc845e452405643d
Commit:     01f1c735f57548e6b862e815cc845e452405643d
Parent:     3850169dbddcc9e53fd550eb093af7da5dfcefa9
Author:     Olof Johansson <[EMAIL PROTECTED]>
AuthorDate: Wed Sep 5 12:41:09 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Fri Sep 14 01:33:22 2007 +1000

    [POWERPC] Remove unused platform_machine_check()
    
    Remove leftover cruft from ARCH=ppc.
    
    There are no users of platform_machine_check() in ARCH=powerpc, and none
    should be added (they should use ppc_md.machine_check_handler instead).
    
    Signed-off-by: Olof Johansson <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/powerpc/kernel/traps.c |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c
index d8502e3..ccfc99d 100644
--- a/arch/powerpc/kernel/traps.c
+++ b/arch/powerpc/kernel/traps.c
@@ -324,15 +324,6 @@ static inline int check_io_access(struct pt_regs *regs)
 #define clear_single_step(regs)        ((regs)->msr &= ~MSR_SE)
 #endif
 
-/*
- * This is "fall-back" implementation for configurations
- * which don't provide platform-specific machine check info
- */
-void __attribute__ ((weak))
-platform_machine_check(struct pt_regs *regs)
-{
-}
-
 void machine_check_exception(struct pt_regs *regs)
 {
        int recover = 0;
@@ -480,12 +471,6 @@ void machine_check_exception(struct pt_regs *regs)
        }
 #endif /* CONFIG_4xx */
 
-       /*
-        * Optional platform-provided routine to print out
-        * additional info, e.g. bus error registers.
-        */
-       platform_machine_check(regs);
-
        if (debugger_fault_handler(regs))
                return;
        die("Machine check", regs, SIGBUS);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to