Merge tag 'sched-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / arm / include / asm / patch.h
blob0b48247c4600c25ff8bd2419278fc0232889e153
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ARM_KERNEL_PATCH_H
3 #define _ARM_KERNEL_PATCH_H
5 void patch_text(void *addr, unsigned int insn);
6 void __patch_text_real(void *addr, unsigned int insn, bool remap);
8 static inline void __patch_text(void *addr, unsigned int insn)
10 __patch_text_real(addr, insn, true);
13 static inline void __patch_text_early(void *addr, unsigned int insn)
15 __patch_text_real(addr, insn, false);
18 #endif