On Thu, Nov 19, 2009 at 05:54:07PM +0200, Gleb Natapov wrote: > > It's actually less readable. I know 11 is between 10 and 13, but is > > NP_VECTOR between TS_VECTOR and GP_VECTOR? > > > > This is better as a switch, or even: > > > > u8 exception_class[] = { > > [PF_VECTOR] EXPT_PF, > > > > etc. > OK what about this then: > > From: Eddie Dong<eddie.dong@xxxxxxxxx> > > Move Double-Fault generation logic out of page fault > exception generating function to cover more generic case. > > Signed-off-by: Eddie Dong<eddie.dong@xxxxxxxxx> > Signed-off-by: Gleb Natapov<gleb@xxxxxxxxxx> Applied this and TSS exceptions, thanks. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html