diff options
author | Robert Richter <robert.richter@amd.com> | 2008-08-22 20:23:37 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-23 17:39:30 +0200 |
commit | 9b4e27b52853c5da77e61a4e36fbc40688b7a829 (patch) | |
tree | 83cae2da59bf5fe1b3f5cb5dc0f08a0cdb8fe63c /kernel/kprobes.c | |
parent | 9754a5b840a209bc1f192d59f63e81b698a55ac8 (diff) |
x86: fix: do not run code in amd_bus.c on non-AMD CPUs
Jan Beulich wrote:
> Even worse - this would even try to access the MSR on non-AMD CPUs
> (currently probably prevented just by the fact that only AMD ones use
> family values of 0x10 or higher).
This patch adds cpu vendor check to the postcore_initcalls.
Reported-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/kprobes.c')
0 files changed, 0 insertions, 0 deletions