mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[PATCH] frv: add module support stubs
Add stubs for FRV module support. Signed-off-by: David Howells <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
a90a72c85f
commit
00d76710c2
3 changed files with 93 additions and 4 deletions
|
|
@ -11,10 +11,18 @@
|
|||
#ifndef _ASM_MODULE_H
|
||||
#define _ASM_MODULE_H
|
||||
|
||||
#define module_map(x) vmalloc(x)
|
||||
#define module_unmap(x) vfree(x)
|
||||
#define module_arch_init(x) (0)
|
||||
#define arch_init_modules(x) do { } while (0)
|
||||
struct mod_arch_specific
|
||||
{
|
||||
};
|
||||
|
||||
#define Elf_Shdr Elf32_Shdr
|
||||
#define Elf_Sym Elf32_Sym
|
||||
#define Elf_Ehdr Elf32_Ehdr
|
||||
|
||||
/*
|
||||
* Include the architecture version.
|
||||
*/
|
||||
#define MODULE_ARCH_VERMAGIC __stringify(PROCESSOR_MODEL_NAME) " "
|
||||
|
||||
#endif /* _ASM_MODULE_H */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue