[PATCH] i386: don't taint UP K7's running SMP kernels.
authorDave Jones <davej@redhat.com>
Tue, 26 Sep 2006 08:52:34 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:34 +0000 (10:52 +0200)
commit3ca113ea74836a80645c79adba24caaa7a74120c
treedbb6f5ac7c3583cd7e2729f8e11fe676bbb3b84e
parent5758d5dfef1c514200bda3f29ba700f1c3e3bc99
[PATCH] i386: don't taint UP K7's running SMP kernels.

We have a test that looks for invalid pairings of certain athlon/durons
that weren't designed for SMP, and taint accordingly (with 'S') if we find
such a configuration.  However, this test shouldn't fire if there's only
a single CPU present. It's perfectly valid for an SMP kernel to boot on UP
hardware for example.

AK: changed to num_possible_cpus()

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/smpboot.c