commit d1edce71135cc6d98c0a4b5729774542b676e769 Author: sophgo-forum-service <forum_service@sophgo.com> Date: Fri Mar 15 16:07:33 2024 +0800 [fix] recommend using ssh method to clone repo. [fix] fix sensor driver repo branch name.
19 lines
397 B
C
19 lines
397 B
C
/* 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 */
|