From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jes Sorensen Date: Fri, 12 Sep 2008 12:12:08 +0000 Subject: [patch] kvm/ia64 build fix Message-Id: <48CA5C98.8040204@sgi.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="------------030106040903000607010804" List-Id: To: kvm-ia64@vger.kernel.org This is a multi-part message in MIME format. --------------030106040903000607010804 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, This is needed against Linus' current tree to avoid a struct redefine error. Cheers, Jes --------------030106040903000607010804 Content-Type: text/plain; name="0200-ia64-kvm-build-fix.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="0200-ia64-kvm-build-fix.patch" Rely on struct fdisc from asm/elf.h to define the ia64 function pointer layout - no need to duplicate locally. Fixes build problem. Signed-off-by: Jes Sorensen --- arch/ia64/kvm/kvm-ia64.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) Index: linux-2.6.git/arch/ia64/kvm/kvm-ia64.c =================================================================== --- linux-2.6.git.orig/arch/ia64/kvm/kvm-ia64.c +++ linux-2.6.git/arch/ia64/kvm/kvm-ia64.c @@ -38,6 +38,7 @@ #include #include #include +#include #include "misc.h" #include "vti.h" @@ -61,12 +62,6 @@ { NULL } }; - -struct fdesc{ - unsigned long ip; - unsigned long gp; -}; - static void kvm_flush_icache(unsigned long start, unsigned long len) { int l; --------------030106040903000607010804--