From: Adrian Bunk RESTORE_CONTEXT lost a newline in commit 658fdbef66e5e9be79b457edc2cbbb3add840aa9: http://www.mail-archive.com/kgdb-bugreport@lists.sourceforge.net/msg00559.html Reported by Steven M. Christey. Signed-off-by: Adrian Bunk Cc: Andi Kleen Signed-off-by: Andrew Morton --- include/asm-x86_64/system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN include/asm-x86_64/system.h~x86_64-re-add-a-newline-to-restore_context include/asm-x86_64/system.h --- a/include/asm-x86_64/system.h~x86_64-re-add-a-newline-to-restore_context +++ a/include/asm-x86_64/system.h @@ -15,7 +15,7 @@ /* frame pointer must be last for get_wchan */ #define SAVE_CONTEXT "pushf ; pushq %%rbp ; movq %%rsi,%%rbp\n\t" -#define RESTORE_CONTEXT "movq %%rbp,%%rsi ; popq %%rbp ; popf\t" +#define RESTORE_CONTEXT "movq %%rbp,%%rsi ; popq %%rbp ; popf\n\t" #define __EXTRA_CLOBBER \ ,"rcx","rbx","rdx","r8","r9","r10","r11","r12","r13","r14","r15" _