Messages in this thread | | | From | Yiping Chen <> | Subject | RE: About rebuild 2.4.x kernel to support SMP. | Date | Thu, 26 Apr 2001 23:36:23 +0800 |
| |
So, I have two question now, 1. how to determine whether your kernel support SMP? Somebody taugh me that you can type "uname -r", but it seems not correct. 2. I remember in 2.2.x, when I rebuild the kernel which support SMP, the compile argument will include -D__SMP__ , but this time, when I rebuild kernel 2.4.2-2 , it didn't appear. Why?
Anyway, thanks for Vivek's answer. -----Original Message----- From: Vivek Dasmohapatra [mailto:vivek@etla.org] Sent: Thursday, April 26, 2001 11:20 PM To: Yiping Chen Cc: 'linux-kernel@vger.kernel.org' Subject: Re: About rebuild 2.4.x kernel to support SMP.
On Thu, 26 Apr 2001, Yiping Chen wrote:
> My question is why the result of 'uname -r' is not "2.4.2-2smp" , but > "2.4.2-2"
This is just the label as defined by the entries in the top-level Makefile, eg:
VERSION = 2 PATCHLEVEL = 4 SUBLEVEL = 3 EXTRAVERSION = -ac5
> Whether I forgot to do something?
You can edit the extraversion value if you want to label your smp kernels differently, but you don't have to.
You'll probably find you _have_ compiled an SMP kernel - see what /proc/cpuinfo says, for example.
-- I am worthless. I struggle with the simple things. It seems so easy for everyone else. One armed blind people climb mountains and teenagers get Ph.D's. I have trouble getting out of bed. -TMCM - 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/
| |