Re: No asm/smp.h == no compile

Jon 'maddog' Hall, USG Senior Leader (hall@zk3.dec.com)
Mon, 18 Mar 96 09:56:20 -0500


Jim_Nance@avanticorp.com said:
> I just tried to compile 1.3.75 for the alpha. It dies right off
> because kernel/sched.c tries to include asm/smp.h which does not
> exist. I suppose that the easiest fix would be to add a few #ifdefs
> to the kernel, but how about a more innovative fix. Like shipping a
> multiprocessor machine to Helsinki (Maddog?). Actually, now that I
> think about it, I don't know that anyone makes a low-end AXP based
> system. Does anyone know?

I believe a more innovative fix would be to have an asm/smp.h that defines
only one processor. :-) Since some people are (obviously) compiling the
kernel, it must exist.

>Actually, now that I
> think about it, I don't know that anyone makes a low-end AXP based
> system. Does anyone know?

I do not know of anyone who is shipping a multi-processor "low-end" AXP system
other than the ones that Digital is producing, assuming you consider them
"low-end". I would love to see a multi-processor Alpha motherboard that
could be easily turned into an "SBC".

> Another point of interest. I heard a rumor that Linus was going to
> do the UltraSparc port. If this is true, will he be the only person
> who has ported a 64 bit OS to more than 1 architecture?

Again, it depends on what you consider an "operating system". OSF/1 MACH
has been ported to both Alpha and the PowerPC, although I am not sure if the
PowerPC Linux environment is "64-bit". And I am not sure what CMU itself
has done along the 64-bit lines. And since Linus doing the UltraSparc port
is still "future", only time will tell if he is "first" or not.

Offhand, I would say that Linux has a "bleeding edge".

md

-- 
===============================================================================
Jon "maddog" Hall			
Officer - Linux International           Senior Leader
Mailstop ZK03-2/U15			UNIX Software Group
Digital Equipment Corporation		Internet: maddog@zk3.dec.com
110 Spit Brook Rd.			Voice: 603.881.1341
Nashua, N.H. 03062-2698			Fax: 603.881.6059