Debugging under kmdb is constantly switching context upon entry/exit which causes a lot of noise on the console.
This matches all other archs which don't emit a similar message upon switch.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk --- arch/sparc64/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/sparc64/context.c b/arch/sparc64/context.c index 30b19ea..48dae3d 100644 --- a/arch/sparc64/context.c +++ b/arch/sparc64/context.c @@ -127,7 +127,7 @@ struct context *switch_to(struct context *ctx) volatile struct context *save; struct context *ret;
- debug("switching to new context: entry point %#llx stack 0x%016llx\n", ctx->pc, ctx->regs[REG_SP]); + //debug("switching to new context: entry point %#llx stack 0x%016llx\n", ctx->pc, ctx->regs[REG_SP]); save = __context; __context = ctx; //asm ("pushl %cs; call __switch_context");