KVM: ia64: fix GVMM module including position-dependent objects
authorXiantao Zhang <xiantao.zhang@intel.com>
Wed, 7 May 2008 09:34:52 +0000 (17:34 +0800)
committerAvi Kivity <avi@qumranet.com>
Sun, 18 May 2008 11:34:16 +0000 (14:34 +0300)
The GVMM module is position independent since it is relocated to the guest
address space.

Commit ea696f9cf ("ia64 kvm fixes for O=... builds") broke this by linking
GVMM with non-PIC objects.

Fix by creating two files: memset.S and memcpy.S which just include the files
under arch/ia64/lib/{memset.S, memcpy.S} respectively.

[akpm: don't delete files which we need]

Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Avi Kivity <avi@qumranet.com>

No differences found