Make most arch asm/module.h files use asm-generic/module.h
[deliverable/linux.git] / arch / score / include / asm / module.h
CommitLineData
6bc9a396
CL
1#ifndef _ASM_SCORE_MODULE_H
2#define _ASM_SCORE_MODULE_H
3
4#include <linux/list.h>
5#include <asm/uaccess.h>
786d35d4 6#include <asm-generic/module.h>
6bc9a396
CL
7
8struct mod_arch_specific {
9 /* Data Bus Error exception tables */
10 struct list_head dbe_list;
11 const struct exception_table_entry *dbe_start;
12 const struct exception_table_entry *dbe_end;
13};
14
15typedef uint8_t Elf64_Byte; /* Type for a 8-bit quantity. */
16
6bc9a396
CL
17/* Given an address, look for it in the exception tables. */
18#ifdef CONFIG_MODULES
19const struct exception_table_entry *search_module_dbetables(unsigned long addr);
20#else
21static inline const struct exception_table_entry
22*search_module_dbetables(unsigned long addr)
23{
24 return NULL;
25}
26#endif
27
28#define MODULE_PROC_FAMILY "SCORE7"
29#define MODULE_KERNEL_TYPE "32BIT "
30#define MODULE_KERNEL_SMTC ""
31
32#define MODULE_ARCH_VERMAGIC \
33 MODULE_PROC_FAMILY MODULE_KERNEL_TYPE MODULE_KERNEL_SMTC
34
35#endif /* _ASM_SCORE_MODULE_H */
This page took 0.247605 seconds and 5 git commands to generate.