diff options
| author | Denys Vlasenko <[email protected]> | 2015-03-13 15:09:03 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-03-17 09:25:28 +0100 |
| commit | 5c39403e004bec75ce0c549541be5479595d6ad0 (patch) | |
| tree | 42c1351a86a742c29d0b92a80dfe8ca758e072fb /tools/perf/scripts/python/syscall-counts.py | |
| parent | 76e4c4908a4904a61aa67ae5eb0b2a7588c4a546 (diff) | |
x86/asm/entry: Simplify task_pt_regs() macro definition
Before this change, task_pt_regs() was using KSTK_TOP(),
and it was the only use of that macro. In turn, KSTK_TOP used
THREAD_SIZE_LONGS, and it was the only use of that macro too.
Fold these macros into task_pt_regs(). Tweak comment
about "- 8" - we now use a symbolic constant, not literal 8.
Signed-off-by: Denys Vlasenko <[email protected]>
Reviewed-by: Steven Rostedt <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Will Drewry <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions