^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * Copyright (C) 2020 IBM Corporation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #include <asm/ppc-opcode.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) .text
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #define globl(x) \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) .globl x; \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) x:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) globl(code_patching_test1)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) nop
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) nop
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) globl(end_code_patching_test1)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) globl(code_patching_test1_expected)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) .long OP_PREFIX << 26
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) .long 0x0000000