Messages in this thread | | | Date | Tue, 04 Apr 2006 22:38:55 +0300 | From | Muli Ben-Yehuda <> | Subject | Re: 2.6.17-rc1-mm1: KEXEC became SMP-only |
| |
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/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |