x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / m68k / include / asm / module.h
blob8b58fce843ddc2bf06a4f6f030f241a2add7b312
1 #ifndef _ASM_M68K_MODULE_H
2 #define _ASM_M68K_MODULE_H
4 #include <asm-generic/module.h>
6 enum m68k_fixup_type {
7 m68k_fixup_memoffset,
8 m68k_fixup_vnode_shift,
9 };
11 struct m68k_fixup_info {
12 enum m68k_fixup_type type;
13 void *addr;
16 struct mod_arch_specific {
17 struct m68k_fixup_info *fixup_start, *fixup_end;
20 #ifdef CONFIG_MMU
22 #define MODULE_ARCH_INIT { \
23 .fixup_start = __start_fixup, \
24 .fixup_end = __stop_fixup, \
28 #define m68k_fixup(type, addr) \
29 " .section \".m68k_fixup\",\"aw\"\n" \
30 " .long " #type "," #addr "\n" \
31 " .previous\n"
33 #endif /* CONFIG_MMU */
35 extern struct m68k_fixup_info __start_fixup[], __stop_fixup[];
37 struct module;
38 extern void module_fixup(struct module *mod, struct m68k_fixup_info *start,
39 struct m68k_fixup_info *end);
41 #endif /* _ASM_M68K_MODULE_H */