Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
14 lines
344 B
ArmAsm
14 lines
344 B
ArmAsm
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#include <mach/hardware.h>
|
|
#include <asm/hardware/entry-macro-iomd.S>
|
|
|
|
.equ ioc_base_high, IOC_BASE & 0xff000000
|
|
.equ ioc_base_low, IOC_BASE & 0x00ff0000
|
|
|
|
.macro get_irqnr_preamble, base, tmp
|
|
mov \base, #ioc_base_high @ point at IOC
|
|
.if ioc_base_low
|
|
orr \base, \base, #ioc_base_low
|
|
.endif
|
|
.endm
|