diff options
| author | Benjamin Gray <[email protected]> | 2023-06-19 17:36:24 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2023-06-19 17:36:25 +1000 |
| commit | 7eec97b32e0b62f54b7f6afb5df189806b1bb87b (patch) | |
| tree | 0a9df6b8ac1e064d6cf8c1703106a651121b01e6 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 8ad57add77d352102ba9edd500b00bc851c2e261 (diff) | |
powerpc/book3s: Add missing <linux/sched.h> include
The functions here use struct task_struct fields, so need to import
the full definition from <linux/sched.h>. The <asm/current.h> header
that defines current only forward declares struct task_struct.
Failing to include this <linux/sched.h> header leads to a compilation
error when a translation unit does not also include <linux/sched.h>
indirectly.
Signed-off-by: Benjamin Gray <[email protected]>
Reviewed-by: Nicholas Piggin <[email protected]>
Reviewed-by: Russell Currey <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions