]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] xen: x86: add macro for debugreg
authorVincent Hanquez <vincent.hanquez@cl.cam.ac.uk>
Thu, 23 Jun 2005 07:08:42 +0000 (00:08 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 23 Jun 2005 16:45:13 +0000 (09:45 -0700)
commitc850ffcba8e8dace416d4356de0abe489ba45d28
treec50cb94b050947c41f285f5b40896ad0a977777b
parent59ec15e0233fa1fdecb1b5ee0d212aeb5ffdd275
[PATCH] xen: x86: add macro for debugreg

Add 2 macros to set and get debugreg on x86.  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>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/processor.h