forked from Qortal/Brooklyn
84ba5b15ac
* Enhance GPIO addon for Noctua Fans for the Qortector upcoming case. This will put PWM signal to real-time. * Fixed RDP not letting a user login if not logged out on Cinnamon release (reported by Crowetic) * Update i2c sensor db * Fixed DRM broadcast over HDMI 2+ * Ease up DHCP security only to prevent Brooklyn blocking routers. * Add possibility to add extra memory for Cinnamon Desktop Release * Fix error message of Software Render mode on Cinnamon Desktop * Add proper offset for HD screens for pixel array *Fixed HDMI jitter for videocore4 GPU * Enable all radios (including Bluetooth)
19 lines
438 B
C
19 lines
438 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ARM_KERNEL_PATCH_H
|
|
#define _ARM_KERNEL_PATCH_H
|
|
|
|
void patch_text(void *addr, unsigned int insn);
|
|
void __patch_text_real(void *addr, unsigned int insn, bool remap);
|
|
|
|
static inline void __patch_text(void *addr, unsigned int insn)
|
|
{
|
|
__patch_text_real(addr, insn, true);
|
|
}
|
|
|
|
static inline void __patch_text_early(void *addr, unsigned int insn)
|
|
{
|
|
__patch_text_real(addr, insn, false);
|
|
}
|
|
|
|
#endif
|