]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit25c437b01f3a04af5362c7fd80ba91a0ec74f007
tree9698337876018bd358f06ccb505aaa1fb20b2e65
parent021f4b6cc966d02b2bcd68841bc2f0c4897edcbb
KVM: ia64: fix GVMM module including position-dependent objects

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>
arch/ia64/kvm/Makefile
arch/ia64/kvm/memcpy.S [new file with mode: 0644]
arch/ia64/kvm/memset.S [new file with mode: 0644]