diff options
Diffstat (limited to 'arch/mips/kernel/ksyms.c')
-rw-r--r-- | arch/mips/kernel/ksyms.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/arch/mips/kernel/ksyms.c b/arch/mips/kernel/ksyms.c new file mode 100644 index 000000000..c80bf588a --- /dev/null +++ b/arch/mips/kernel/ksyms.c @@ -0,0 +1,40 @@ +/* + * Export MIPS-specific functions needed for loadable modules. + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 1996 by Ralf Baechle + */ +#include <linux/module.h> +#include <linux/mm.h> +#include <asm/cache.h> +#include <asm/dma.h> +#include <asm/floppy.h> +#include <asm/io.h> + +static struct symbol_table arch_symbol_table = { +#include <linux/symtab_begin.h> + X(EISA_bus), + /* + * String functions + */ + X(__generic_memset_b), + X(__generic_memset_dw), + /* + * Functions to control caches. + */ + X(cacheflush), + X(fd_cacheflush), + /* + * Base address of ports for Intel style I/O. + */ + X(port_base), +#include <linux/symtab_end.h> +}; + +void arch_syms_export(void) +{ + register_symtab(&arch_symbol_table); +} |