diff options
author | Denys Vlasenko <[email protected]> | 2015-04-10 15:06:58 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-04-11 13:08:53 +0200 |
commit | 32caa06091cc59651222cdc971dc21eaab36b097 (patch) | |
tree | fc3482c4f3c36384f87cef02c3748aaa42f6dce6 /fs/jbd/commit.c | |
parent | 5df71b396b2d1fdd9d9f5a33e2eda5dc27c5632d (diff) |
perf/x86/64: Simplify regs_user->abi setting code in get_regs_user()
user_64bit_mode(regs) basically checks regs->cs to point to a
64-bit segment. This check used to be unreliable here because
regs->cs was not always correct in syscalls.
Now regs->cs is always correct: in syscalls, in interrupts, in
exceptions. No need to emply heuristics here.
Signed-off-by: Denys Vlasenko <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions