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)
45 lines
759 B
C
45 lines
759 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __ASM_PARISC_LINKAGE_H
|
|
#define __ASM_PARISC_LINKAGE_H
|
|
|
|
#include <asm/dwarf.h>
|
|
|
|
#ifndef __ALIGN
|
|
#define __ALIGN .align 4
|
|
#define __ALIGN_STR ".align 4"
|
|
#endif
|
|
|
|
/*
|
|
* In parisc assembly a semicolon marks a comment while a
|
|
* exclamation mark is used to separate independent lines.
|
|
*/
|
|
#define ASM_NL !
|
|
|
|
#ifdef __ASSEMBLY__
|
|
|
|
#define ENTRY(name) \
|
|
.export name !\
|
|
ALIGN !\
|
|
name:
|
|
|
|
#ifdef CONFIG_64BIT
|
|
#define ENDPROC(name) \
|
|
END(name)
|
|
#else
|
|
#define ENDPROC(name) \
|
|
.type name, @function !\
|
|
END(name)
|
|
#endif
|
|
|
|
#define ENTRY_CFI(name) \
|
|
ENTRY(name) ASM_NL\
|
|
CFI_STARTPROC
|
|
|
|
#define ENDPROC_CFI(name) \
|
|
ENDPROC(name) ASM_NL\
|
|
CFI_ENDPROC
|
|
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
#endif /* __ASM_PARISC_LINKAGE_H */
|