Re: SMP module compilation on UP?

From: Rafael Herrera (raffo@neuronet.pitt.edu)
Date: Wed Jun 13 2001 - 10:25:54 EST


Mark Mokryn wrote:
> Is it possible to build an SMP module on a machine running a UP kernel
> (or vice versa)? We of course get unresolved symbols during module load
> due to the smp prefix on the ksyms, and haven't seen how to get around
> it. (Defining __SMP__ does not cut it, though I believe this used to
> work a while ago).

Yes. It does not matter what kernel you are running. What's important is
that you configure your sources. Configure your kernel for SMP and do a
'make dep', then compile your module.

-- 
     Rafael
-
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/



This archive was generated by hypermail 2b29 : Fri Jun 15 2001 - 21:00:18 EST