]> git.itanic.dy.fi Git - linux-stable/commit
oprofile/x86: remove node check in AMD IBS initialization
authorRobert Richter <robert.richter@amd.com>
Thu, 28 Jan 2010 15:50:45 +0000 (16:50 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Mar 2010 15:49:47 +0000 (08:49 -0700)
commit6b98d0388a6c54a57f5f5da7256ccfb7f2484987
tree7f8a42ceaf9761b57f688d3f66b4fe597ae33e2f
parentc96d1b6618c4946e4aac704fc7fbb4bba2957047
oprofile/x86: remove node check in AMD IBS initialization

commit 89baaaa98a10cad5cc8516c7208b02d9fc711890 upstream.

Standard AMD systems have the same number of nodes as there are
northbridge devices. However, there may kernel configurations
(especially for 32 bit) or system setups exist, where the node number
is different or it can not be detected properly. Thus the check is not
reliable and may fail though IBS setup was fine. For this reason it is
better to remove the check.

Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/oprofile/op_model_amd.c