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

omit needless ampersands

parent 649bc99f
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ lgdt(struct segdesc *p, int size)
pd[1] = (uint)p;
pd[2] = (uint)p >> 16;
asm volatile("lgdt (%0)" : : "r" (&pd));
asm volatile("lgdt (%0)" : : "r" (pd));
}
struct gatedesc;
......@@ -64,7 +64,7 @@ lidt(struct gatedesc *p, int size)
pd[1] = (uint)p;
pd[2] = (uint)p >> 16;
asm volatile("lidt (%0)" : : "r" (&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