Messages in this thread | | | Date | Sat, 16 Aug 2003 19:04:13 -0700 (PDT) | Subject | Re: 2.6-test2: gcc-3.3.1 warning. | From | "Randy.Dunlap" <> |
| |
> > On Sat, 16 Aug 2003, Richard Henderson wrote: >> >> Fixed by doing >> >> __asm__ __volatile__("lidt %0": :"m" (*no_idt)); > > Good catch, although I'd prefer something like this instead (ie change > "no_idt" to be a real IDT descriptor, like the other ones). > > It shouldn't matter all that much, since the only thing that really matters > is to load the IDT with bogus values, so just about anything should do it.
Yep, I have had some private email about this and had this patch queued for this weekend. Same as yours, use the struct for it.
~Randy
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |