Messages in this thread | | | From | Daniel Phillips <> | Subject | Re: 2.4.19rc3aa4 | Date | Wed, 31 Jul 2002 17:54:37 +0200 |
| |
On Tuesday 30 July 2002 16:36, J.A. Magallon wrote: > BTW, are you aware of this in -aa ? I need this patch: > > --- linux/include/asm-i386/processor.h Fri Jul 19 00:37:45 2002 > +++ linux/include/asm-i386/processor.h~ Fri Jul 19 00:38:48 2002 > @@ -401,7 +401,7 @@ > { [0 ... 7] = 0 }, /* debugging registers */ \ > 0, 0, 0, \ > { { 0, }, }, /* 387 state */ \ > - 0,0,0,0,0,0, \ > + 0,0,0,0,0, \ > 0,{~0,} /* io permissions */ \ > } > > to shut up gcc and match the struct definition: > > /* floating point info */ > union i387_union i387; > /* virtual 86 mode info */ > struct vm86_struct * vm86_info; > unsigned long screen_bitmap; > unsigned long v86flags, v86mask, saved_esp0; > /* IO permissions */ > int ioperm; > unsigned long io_bitmap[IO_BITMAP_SIZE+1]; > > Coud be serious to have io_bitmap == 0 instead of == ~0 ??
It should be written "= {.io_bitmap = {~0}}" but that's still bogus: only the first array element gets the ones, probably not what was intended.
-- Daniel - 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/
| |