Re: [PATCH] x86_64 RESTORE_CONTEXT missing '\n'

From: Andi Kleen
Date: Thu Mar 08 2007 - 12:24:33 EST


On Wednesday 07 March 2007 21:45, Dave Jiang wrote:
>
> The RESTORE_CONTEXT macro is missing the '\n' at the end. It was removed in the
> previous patch that touched system.h. It causes compile failure if any
> inline asm is added after the macro. Discovered this when playing with
> kgdb.

We went through this several times. kgdb has no business to poke
into kernel private macros like this and it shouldn't do that.
So fixing kgdb to not require touching the context switch is the right
change.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/