Re: How to Determine Which Kernel

From: Quang Nguyêñ (formerly Ngô) (quang@tapeware.com)
Date: Fri Mar 31 2000 - 15:07:24 EST


> [bcollins@auric(2:53pm)-~]%uname -a
> Linux auric 2.2.15-pre14 #1 SMP Mon Mar 13 23:07:08 EST 2000 sparc64
unknown
>
> Works for any arch. If it contains "SMP", then well...if not...you get the
> idea :)

This works fine with kernel 2.2. However, under 2.0.x, there is no SMP
string. I'm writing a driver and want to support 2.0 as well.

How do I determine under 2.0.x? /proc/cpuinfo doesn't really help since I
want to know about the kernel, not the number of CPUs. Is there anything in
/dev I could look for?

--
Quang

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



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:30 EST