From: Paul M. <le...@li...> - 2007-08-03 04:02:51
|
On Thu, Aug 02, 2007 at 11:56:49PM -0400, Mike Frysinger wrote: > On Thursday 02 August 2007, Adrian McMenamin wrote: > > This patch adds a set machine-ops callbacks > > what is the advantage here over using weaks ? seems like weaks would be > simpler and better because you could cull the default ones at link time if a > board provided its own ... Multiple machine support, basically. Weak symbols won't work for the case where multiple boards are linked in to the same image. We can have multiple machvecs packed in at once and simply discard the ones we don't care about at boot time (as per arch/sh/kernel/machvec.c). |