lkml.org 
[lkml]   [2003]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: 2.6-test2: gcc-3.3.1 warning.
From
>
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.031 / U:0.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site