1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_M68K_MODULE_H
3 #define _ASM_M68K_MODULE_H
5 #include <asm-generic/module.h>
9 m68k_fixup_vnode_shift
,
12 struct m68k_fixup_info
{
13 enum m68k_fixup_type type
;
17 struct mod_arch_specific
{
18 struct m68k_fixup_info
*fixup_start
, *fixup_end
;
23 #define MODULE_ARCH_INIT { \
24 .fixup_start = __start_fixup, \
25 .fixup_end = __stop_fixup, \
29 #define m68k_fixup(type, addr) \
30 " .section \".m68k_fixup\",\"aw\"\n" \
31 " .long " #type "," #addr "\n" \
34 #endif /* CONFIG_MMU */
36 extern struct m68k_fixup_info __start_fixup
[], __stop_fixup
[];
39 extern void module_fixup(struct module
*mod
, struct m68k_fixup_info
*start
,
40 struct m68k_fixup_info
*end
);
42 #endif /* _ASM_M68K_MODULE_H */