Skip to content
Commit 9b4e27b5 authored by Robert Richter's avatar Robert Richter Committed by Ingo Molnar
Browse files

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: default avatarJan Beulich <jbeulich@novell.com>
Signed-off-by: default avatarRobert Richter <robert.richter@amd.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 9754a5b8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment