HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/src/linux-headers-5.15.0-89/arch/powerpc/include/asm/code-patching-asm.h
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright 2018, Michael Ellerman, IBM Corporation.
 */
#ifndef _ASM_POWERPC_CODE_PATCHING_ASM_H
#define _ASM_POWERPC_CODE_PATCHING_ASM_H

/* Define a "site" that can be patched */
.macro patch_site label name
	.pushsection ".rodata"
	.balign 4
	.global \name
\name:
	.4byte	\label - .
	.popsection
.endm

#endif /* _ASM_POWERPC_CODE_PATCHING_ASM_H */