diff options
| author | Zubin Mithra <[email protected]> | 2018-09-12 16:45:10 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-09-12 19:16:16 +0000 |
| commit | 49e73246cbe6fe0df9cae2db87f31cdc3a0b2b61 (patch) | |
| tree | 8f45b27f95a32ff5f352d082d0af583c075a7dde /arch/powerpc/lib/code-patching.c | |
| parent | kprobes: Don't call BUG_ON() if there is a kprobe in use on free list (diff) | |
| download | kernel-49e73246cbe6fe0df9cae2db87f31cdc3a0b2b61.tar.gz kernel-49e73246cbe6fe0df9cae2db87f31cdc3a0b2b61.zip | |
perf/x86/intel/pt: Annotate 'pt_cap_group' with __ro_after_init
'pt_cap_group' is written to in pt_pmu_hw_init() and not modified after.
This makes it a suitable candidate for annotating as __ro_after_init.
Signed-off-by: Zubin Mithra <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
