[PATCH] build fix for uml/amd64

From: Al Viro
Date: Tue Oct 18 2005 - 16:45:39 EST


Missing half of the [PATCH] uml: Fix sysrq-r support for skas mode
We need to remove these (UPT_[DEFG]S) from the read side as well as the
write one - otherwise it simply won't build.

Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
----

IMO it should go in before 2.6.14. Jeff, could you ACK that?

diff -urN RC14-rc4-git4-hppfs-sparse/arch/um/include/sysdep-x86_64/ptrace.h RC14-rc4-git4-pending-1/arch/um/include/sysdep-x86_64/ptrace.h
--- RC14-rc4-git4-hppfs-sparse/arch/um/include/sysdep-x86_64/ptrace.h 2005-10-10 21:36:17.000000000 -0400
+++ RC14-rc4-git4-pending-1/arch/um/include/sysdep-x86_64/ptrace.h 2005-10-16 03:10:04.000000000 -0400
@@ -183,10 +183,6 @@
case RBP: val = UPT_RBP(regs); break; \
case ORIG_RAX: val = UPT_ORIG_RAX(regs); break; \
case CS: val = UPT_CS(regs); break; \
- case DS: val = UPT_DS(regs); break; \
- case ES: val = UPT_ES(regs); break; \
- case FS: val = UPT_FS(regs); break; \
- case GS: val = UPT_GS(regs); break; \
case EFLAGS: val = UPT_EFLAGS(regs); break; \
default : \
panic("Bad register in UPT_REG : %d\n", reg); \
-
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/