[PATCH] uml: kludgy compilation fixes for x86-64 subarch modules support
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Thu, 5 May 2005 23:15:16 +0000 (16:15 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 5 May 2005 23:36:33 +0000 (16:36 -0700)
commit23352fc252495fdc072b3bd29f57c4c6b7a6bd83
tree6d8bbac7d5512e7a984551f39d3922410ba53455
parentf7fe8781749bf2de2ca03147a1691244a7d93ec7
[PATCH] uml: kludgy compilation fixes for x86-64 subarch modules support

These are some trivial fixes for the x86-64 subarch module support.  The only
potential problem is that I have to modify arch/x86_64/kernel/module.c, to
avoid copying the whole of it.

I can't use it verbatim because it depends on a special vmalloc-like area for
modules, which for now (maybe that's to fix, I guess not) UML/x86-64 has not.
I went the easy way and reused the i386 vmalloc()-based allocator.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Acked-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/sys-x86_64/Makefile
arch/um/sys-x86_64/ksyms.c [new file with mode: 0644]
arch/um/sys-x86_64/um_module.c [new file with mode: 0644]
arch/x86_64/kernel/module.c
include/asm-um/elf.h