Skip to content
Snippets Groups Projects
Commit 64659055 authored by rsc's avatar rsc
Browse files

ditto

parent 3163085a
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment