On Tue, Apr 04, 2006 at 12:23:24PM -0700, Zachary Amsden wrote:

> This gets rid of both the code duplication and makes it somewhat more 
> obvious what is going on - plus it is easy to extend to other functions, 
> and as a bonus feature, you don't need to change any code in other 
> subarchitectures if you need to add a new hook.

ppc has 'struct machdep_calls' (asm-powerpc/machdep.h) which serves
the same purpose, and it's indeed a clean way of doing this sort of
thing.

Cheers,
Muli
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/
_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to