diff options
author | Andy Lutomirski <[email protected]> | 2016-04-26 12:23:26 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-04-29 11:56:41 +0200 |
commit | 45e876f794e8e566bf827c25ef0791875081724f (patch) | |
tree | 0c725250ba4073785997ea5a74bdb1f7e84cb9d7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f005f5d860e0231fe212cfda8c1a3148b99609f4 (diff) |
x86/segments/64: When loadsegment(fs, ...) fails, clear the base
On AMD CPUs, a failed loadsegment currently may not clear the FS
base. Fix it.
While we're at it, prevent loadsegment(gs, xyz) from even compiling
on 64-bit kernels. It shouldn't be used.
Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/a084c1b93b7b1408b58d3fd0b5d6e47da8e7d7cf.1461698311.git.luto@kernel.org
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