[PATCH] ppc64: remove some direct xmon calls
authorAnton Blanchard <anton@samba.org>
Mon, 7 Nov 2005 08:05:31 +0000 (19:05 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 8 Nov 2005 00:19:57 +0000 (11:19 +1100)
commit570142ca37248291c03df9852a5a0ce97f756464
treeca5317ed8f9535f95cf6b3e4c30a1b803b0e6203
parentcb09cff30ad22408eea9b2785555af2d2b0ac1bd
[PATCH] ppc64: remove some direct xmon calls

Even though we can enable and disable xmon at runtime now, there are a
few places in the merge tree that call xmon and xmon_printf directly.

In the case below we call die() which will call xmon if it is enabled.

Also remove an unnecessary include of xmon.h in smp.c.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/smp.c
arch/powerpc/kernel/traps.c