Re: [GIT PULL] x86: more header untangling

From: Ingo Molnar
Date: Fri Feb 13 2009 - 06:48:20 EST



* Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:

> 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).

ok, cool, no disagreements then. Your point about the type being
standardized by the helpers is important, i missed that aspect.

Ingo
--
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/