diff options
author | Mark Rutland <[email protected]> | 2021-06-09 11:23:00 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2021-06-11 11:19:27 +0100 |
commit | 78b92c7337e10519312e8aab64d7a1651206bd61 (patch) | |
tree | f8ab051cfc991c14899398c2c5e72d6fccc60aaa /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 71766b81de8204a0fb56de3ad1972516bac99f5b (diff) |
arm64: insn: decouple patching from insn code
Currently, <asm/insn.h> includes <asm/patching.h>. We intend that
<asm/insn.h> will be usable from userspace, so it doesn't make sense to
include headers for kernel-only features such as the patching routines,
and we'd intended to restrict <asm/insn.h> to instruction encoding
details.
Let's decouple the patching code from <asm/insn.h>, and explicitly
include <asm/patching.h> where it is needed. Since <asm/patching.h>
isn't included from assembly, we can drop the __ASSEMBLY__ guards.
At the same time, sort the kprobes includes so that it's easier to see
what is and isn't incldued.
Signed-off-by: Mark Rutland <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions