]> git.baikalelectronics.ru Git - kernel.git/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)
committerRobert Richter <robert.richter@amd.com>
Fri, 26 Feb 2010 14:14:01 +0000 (15:14 +0100)
commitfe25cd646d93e7926e91ab2770e9ce8af5b9b7ae
treea32069ab0afaa5cc881b66ce3fbdb7e6f1da2bb4
parentf5b058cdf0eade786612942009fe456847721c33
oprofile/x86: remove node check in AMD IBS initialization

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.

Cc: stable <stable@kernel.org>
Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/x86/oprofile/op_model_amd.c