On Monday 08 August 2011, Mark Salter wrote: > +extern unsigned long long __c6xabi_divull(unsigned long long n, > + unsigned long long d); > +EXPORT_SYMBOL(__c6xabi_divull); A full 64 bit division is very expensive. We have the div64() macro in the kernel to avoid that. It would be a useful optimization to provide a working div64 and remove the __c6xabi_divull export. > +void *module_alloc(unsigned long size) > +{ > + if (size == 0) > + return NULL; > + return vmalloc_exec(size); > +} > + > + > +/* Free memory returned from module_alloc */ > +void module_free(struct module *mod, void *module_region) > +{ > + vfree(module_region); > +} > + > +/* > + * finish loading the module > + */ > +int module_finalize(const Elf_Ehdr *hdr, > + const Elf_Shdr *sechdrs, > + struct module *me) > +{ > + return 0; > +} > + > +/* > + * finish clearing the module > + */ > +void module_arch_cleanup(struct module *mod) > +{ > + module_bug_cleanup(mod); > +} > + > + > +/* We don't need anything special. */ > +int module_frob_arch_sections(Elf_Ehdr *hdr, > + Elf_Shdr *sechdrs, > + char *secstrings, > + struct module *mod) > +{ > + return 0; > +} After openrisc was merged, you no longer need to provide these functions, they are the default anyway. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html