linux/arch/s390/include
Harald Freudenberger 32e8bd6423 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 <hca@linux.ibm.com>
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Holger Dengler <dengler@linux.ibm.com>
Reviewed-by: Juergen Christ <jchrist@linux.ibm.com>
Cc: stable@vger.kernel.org
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2024-05-16 10:17:11 +02:00
..
asm s390/cpacf: Make use of invalid opcode produce a link error 2024-05-16 10:17:11 +02:00
uapi/asm KVM: define __KVM_HAVE_GUEST_DEBUG unconditionally 2024-02-08 08:41:06 -05:00