commit 64659055bd8ed3717a691d0311666d94195aebee parent 3163085ace9f530bdf6dbc83c62d5e3842728860 Author: rsc <rsc> Date: Tue, 14 Aug 2007 04:06:02 +0000 ditto Diffstat:
M | x86.h | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/x86.h b/x86.h @@ -64,7 +64,7 @@ lidt(struct gatedesc *p, int size) pd[1] = (uint)p; pd[2] = (uint)p >> 16; - asm volatile("lidt (%0)" : : "g" (pd)); + asm volatile("lidt (%0)" : : "r" (&pd)); } static __inline void