Messages in this thread |  | | | Date | Wed, 12 Jan 2000 10:44:13 -0500 (EST) | | From | "Richard B. Johnson" <> | | Subject | Re: [PATCH] Replacing __SMP__ by CONFIG_SMP globally in linux-2.3.39. |
| |
On Wed, 12 Jan 2000, Niels Kristian Bech Jensen wrote:
> A patch that replaces __SMP__ by CONFIG_SMP throughout the linux-2.3.39 > kernel source tree can be found at > > http://www.image.dk/~nkbj/patches/config-smp-2.3.39.bz2 > > The patch can be applied to pre-patch-2.3.40-1 as well. Beware that > __SMP__ is no longer defined when the patch has been applied. > > --
What is its purpose? __SMP__ is not just defined or not defined from the linux kernel source directory, but also used for writing modules which, in fact, may not exist within the kernel source directory at all.
So, if such a patch goes into the kernel, module makefiles now have to be modified to define "CONFIG_SMP" instead of "__SMP__" which, since they may not even have a "configuration", becomes just another PITA to support "change for the sake of change".
Cheers, Dick Johnson
Penguin : Linux version 2.3.36 on an i686 machine (400.59 BogoMips).
- 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/
|  |