[PATCH] xen: x86_64: Add macro for debugreg
authorVincent Hanquez <vincent.hanquez@cl.cam.ac.uk>
Thu, 23 Jun 2005 07:08:46 +0000 (00:08 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 23 Jun 2005 16:45:14 +0000 (09:45 -0700)
commite9129e56e9ec50c0689eb4cf7a3ca132f1e776db
tree46ef37651b1d25afbe002e00d8c80c85df27d5fd
parent717b594a415bfaf2dbd5e8266636488f2564c689
[PATCH] xen: x86_64: Add macro for debugreg

Add 2 macros to set and get debugreg on x86_64.  This is useful for Xen
because it will need only to redefine each macro to a hypervisor call.

Signed-off-by: Vincent Hanquez <vincent.hanquez@cl.cam.ac.uk>
Cc: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/signal.c
arch/x86_64/kernel/traps.c
include/asm-x86_64/processor.h