diff options
author | Peter Zijlstra <[email protected]> | 2010-05-25 11:02:55 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2010-05-25 11:28:49 +0200 |
commit | 87f44bbc246c5244c76a701f8eefba7788bce64a (patch) | |
tree | 1370af780bf3bae9e025766f5bbfa9418bb8b68b /fs/jbd2/commit.c | |
parent | d67f088e084755bdceb4f15bc6e05e309db1eea7 (diff) |
perf, trace: Fix !x86 build bug
Patch b7e2ecef92 (perf, trace: Optimize tracepoints by removing
IRQ-disable from perf/tracepoint interaction) made the
unfortunate mistake of assuming the world is x86 only, correct
this.
The problem was that perf_fetch_caller_regs() did
local_save_flags() into regs->flags, and I re-used that to
remove another local_save_flags(), forgetting !x86 doesn't have
regs->flags.
Do the reverse, remove the local_save_flags() from
perf_fetch_caller_regs() and let the ftrace site do the
local_save_flags() instead.
Signed-off-by: Peter Zijlstra <[email protected]>
Acked-by: Paul Mackerras <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
LKML-Reference: <1274778175.5882.623.camel@twins>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions