repo: https://github.com/T-head-Semi/linux commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
21 lines
303 B
ArmAsm
21 lines
303 B
ArmAsm
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2020 IBM Corporation
|
|
*/
|
|
#include <asm/ppc-opcode.h>
|
|
|
|
.text
|
|
|
|
#define globl(x) \
|
|
.globl x; \
|
|
x:
|
|
|
|
globl(code_patching_test1)
|
|
nop
|
|
nop
|
|
globl(end_code_patching_test1)
|
|
|
|
globl(code_patching_test1_expected)
|
|
.long OP_PREFIX << 26
|
|
.long 0x0000000
|