diff options
author | Borislav Petkov <[email protected]> | 2016-02-03 12:33:38 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-02-09 11:41:17 +0100 |
commit | 58b5f2cc4bdbc9b616e68639f5a84886aa5be590 (patch) | |
tree | 07bec71eea3310896bcc6faf04dcdba9b41d01b5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | de778275c295825e6638f3f74103f40642d45caa (diff) |
x86/microcode/intel: Move the BUG_ON up and turn it into WARN_ON
If we're going to BUG_ON() because we're running on the wrong CPU, we
better do it as the first thing we do when entering that function. And
also, turn it into a WARN_ON() because it is not worth to panic the
system if we apply the microcode on the wrong CPU - we're simply going
to exit early.
Tested-by: Thomas Voegtle <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions