From: Mike F. <va...@ge...> - 2007-08-03 04:09:22
|
On Friday 03 August 2007, Paul Mundt wrote: > 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). ah, i'd forgotten about that aspect ... is that the only upside ? i'm=20 debating doing this in Blackfin and at the moment i'd just use weaks since = we=20 have no infrastructure to do multiple board support and we dont have plans = to=20 add it anytime soon ... =2Dmike |