On 11/19/2009 05:54 PM, 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<[email protected]> Move Double-Fault generation logic out of page fault exception generating function to cover more generic case.
Much better. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
