Messages in this thread | | | Subject | Re: [PATCH] x86 (Linux Tiny): configure out support for some processors | From | Matt Mackall <> | Date | Mon, 11 Feb 2008 17:28:52 -0600 |
| |
On Mon, 2008-02-11 at 15:01 -0800, H. Peter Anvin wrote: > Matt Mackall wrote: > > > > Best would be to have no ifdefs and do it all with linker magic, of > > course. But that's trickier. > > > > I concur with this, definitely.
Ok, so let's come up with a plan. We can:
a) use weak symbols, ala cond_syscall b) use a special section c) use early_init code (is it early enough?) c) have some sort of registration list
Having a generic cond_call of some sort might be nice for this sort of thing.
-- Mathematics is the supreme nostalgia of our time.
| |