SMP kernel build question

Tony E. Bennett (tbennett@nvidia.com)
Fri, 28 Jan 2000 15:10:40 -0500 (EST)


Whenever I build a kernel (2.2.12) with SMP and MODVERSIONS, the built
kernel has versioned symbols, but they don't include 'smp'. So booting
it fails horribly since all the /lib/modules are looking for 'smp'

This seems to be because linux/module.h includes modversion.h instead of
modversions-smp.h

Is something in the build process supposed to link linux/include/modversions.h
to the smp version?

My only solution is to patch module.h to say

# ifdef __SMP__
# include <linux/modversions-smp.h>
# else
# include <linux/modversions.h>
# endif

--tony

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/