ChangeSet 1.2229.1.11, 2005/04/04 07:37:03-07:00, [EMAIL PROTECTED]

        [PATCH] ppc32: use correct sysrq function
        
        We were using an internal sysrq function instead of the exported public
        interface for registering a sysrq key in arch/ppc/xmon/start.c.  This 
patch
        fixes it (and eliminates a compiler warning).
        
        Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
        Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
        Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>



 start.c |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)


diff -Nru a/arch/ppc/xmon/start.c b/arch/ppc/xmon/start.c
--- a/arch/ppc/xmon/start.c     2005-04-04 08:15:40 -07:00
+++ b/arch/ppc/xmon/start.c     2005-04-04 08:15:40 -07:00
@@ -215,9 +215,7 @@
        DLAB = 0x80;
 #endif /* platform */
 
-#ifdef CONFIG_MAGIC_SYSRQ
-       __sysrq_put_key_op('x', &sysrq_xmon_op);
-#endif
+       register_sysrq_key('x', &sysrq_xmon_op);
 }
 
 static int scc_initialized = 0;
-
To unsubscribe from this list: send the line "unsubscribe bk-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