diff options
| author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-08-08 10:22:41 +0400 | 
|---|---|---|
| committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-08-08 10:22:41 +0400 | 
| commit | 1a43f2012455a977397deffe35912fd3f3ce17b9 (patch) | |
| tree | 5189f337df44e7a495fbd097cd476b0380babd8c /arch/sparc/kernel/module.c | |
| parent | e1b96ada659431669efaf3defa997abf5db68130 (diff) | |
| parent | 322a8b034003c0d46d39af85bf24fee27b902f48 (diff) | |
| download | linux-1a43f2012455a977397deffe35912fd3f3ce17b9.tar.xz | |
Merge commit 'v3.1-rc1' into imx-fixes
Diffstat (limited to 'arch/sparc/kernel/module.c')
| -rw-r--r-- | arch/sparc/kernel/module.c | 28 | 
1 files changed, 0 insertions, 28 deletions
diff --git a/arch/sparc/kernel/module.c b/arch/sparc/kernel/module.c index 99ba5baa9497..da0c6c70ccb2 100644 --- a/arch/sparc/kernel/module.c +++ b/arch/sparc/kernel/module.c @@ -68,12 +68,6 @@ void *module_alloc(unsigned long size)  	return ret;  } -/* Free memory returned from module_core_alloc/module_init_alloc */ -void module_free(struct module *mod, void *module_region) -{ -	vfree(module_region); -} -  /* Make generic code ignore STT_REGISTER dummy undefined symbols.  */  int module_frob_arch_sections(Elf_Ehdr *hdr,  			      Elf_Shdr *sechdrs, @@ -107,17 +101,6 @@ int module_frob_arch_sections(Elf_Ehdr *hdr,  	return 0;  } -int apply_relocate(Elf_Shdr *sechdrs, -		   const char *strtab, -		   unsigned int symindex, -		   unsigned int relsec, -		   struct module *me) -{ -	printk(KERN_ERR "module %s: non-ADD RELOCATION unsupported\n", -	       me->name); -	return -ENOEXEC; -} -  int apply_relocate_add(Elf_Shdr *sechdrs,  		       const char *strtab,  		       unsigned int symindex, @@ -239,15 +222,4 @@ int module_finalize(const Elf_Ehdr *hdr,  	return 0;  } -#else -int module_finalize(const Elf_Ehdr *hdr, -                    const Elf_Shdr *sechdrs, -                    struct module *me) -{ -        return 0; -}  #endif /* CONFIG_SPARC64 */ - -void module_arch_cleanup(struct module *mod) -{ -}  | 
