Re: [GIT PULL] x86: more header untangling

From: Jeremy Fitzhardinge
Date: Wed Feb 11 2009 - 17:35:03 EST


Ingo Molnar wrote:
Another possibility would be to make a further distinction between 'local methods' and 'compound methods'. Local methods are the ones that only relate to a given
data type. Compound methods combine multiple types. We could allow local methods in type headers, and forbid compound methods.

Yes, that's pretty much the approach I've been taking. Particularly since these little helper functions are smoothing over a given type being defined in different ways in different environments (the types themselves are different, but the types of the functions operating on them are the same).

J
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/