diff options
author | Amerigo Wang <amwang@redhat.com> | 2009-06-03 21:46:28 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-06-12 21:47:02 +0930 |
commit | c0e5e10bf380c7a7c4e8c8b7d42e0aba623e76a6 (patch) | |
tree | 504bfe55e61424ad86cee429714922a39c084923 /arch/um/sys-x86_64/um_module.c | |
parent | 0fdc83b950df9e2eb45db6fca9c3d92c66fd5028 (diff) |
uml module: fix uml build process due to this merge
Due to the previous merge, uml needs to be fixed.
Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/um/sys-x86_64/um_module.c')
-rw-r--r-- | arch/um/sys-x86_64/um_module.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/um/sys-x86_64/um_module.c b/arch/um/sys-x86_64/um_module.c deleted file mode 100644 index 3dead392a41..00000000000 --- a/arch/um/sys-x86_64/um_module.c +++ /dev/null @@ -1,21 +0,0 @@ -#include <linux/vmalloc.h> -#include <linux/moduleloader.h> - -/* Copied from i386 arch/i386/kernel/module.c */ -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); - /* - * FIXME: If module_region == mod->init_region, trim exception - * table entries. - */ -} - |