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)
19 lines
329 B
C
19 lines
329 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ALPHA_MODULE_H
|
|
#define _ALPHA_MODULE_H
|
|
|
|
#include <asm-generic/module.h>
|
|
|
|
struct mod_arch_specific
|
|
{
|
|
unsigned int gotsecindex;
|
|
};
|
|
|
|
#define ARCH_SHF_SMALL SHF_ALPHA_GPREL
|
|
|
|
#ifdef MODULE
|
|
asm(".section .got,\"aws\",@progbits; .align 3; .previous");
|
|
#endif
|
|
|
|
#endif /*_ALPHA_MODULE_H*/
|