xref: /kernel/linux/linux-5.10/arch/powerpc/lib/test_code-patching.S
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/arch/powerpc/lib/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (C) 2020 IBM Corporation
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci#include <asm/ppc-opcode.h>
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci	.text
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#define globl(x)		\
108c2ecf20Sopenharmony_ci	.globl x;	\
118c2ecf20Sopenharmony_cix:
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciglobl(code_patching_test1)
148c2ecf20Sopenharmony_ci	nop
158c2ecf20Sopenharmony_ci	nop
168c2ecf20Sopenharmony_ciglobl(end_code_patching_test1)
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciglobl(code_patching_test1_expected)
198c2ecf20Sopenharmony_ci	.long OP_PREFIX << 26
208c2ecf20Sopenharmony_ci	.long 0x0000000
21

Indexes created Thu Nov 07 10:32:03 CST 2024