diff options
author | Harald Freudenberger <[email protected]> | 2024-05-14 10:09:32 +0200 |
---|---|---|
committer | Heiko Carstens <[email protected]> | 2024-05-16 10:17:11 +0200 |
commit | 32e8bd6423fc127d2b37bdcf804fd76af3bbec79 (patch) | |
tree | 9cfdcdc596144261aedfcae826a89faae58ca6f9 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace | |
parent | 830999bd7e72f4128b9dfa37090d9fa8120ce323 (diff) |
s390/cpacf: Make use of invalid opcode produce a link error
Instead of calling BUG() at runtime introduce and use a prototype for a
non-existing function to produce a link error during compile when a not
supported opcode is used with the __cpacf_query() or __cpacf_check_opcode()
inline functions.
Suggested-by: Heiko Carstens <[email protected]>
Signed-off-by: Harald Freudenberger <[email protected]>
Reviewed-by: Holger Dengler <[email protected]>
Reviewed-by: Juergen Christ <[email protected]>
Cc: [email protected]
Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions