Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752343AbbGMSPe (ORCPT ); Mon, 13 Jul 2015 14:15:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52980 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751935AbbGMSPd (ORCPT ); Mon, 13 Jul 2015 14:15:33 -0400 From: Igor Mammedov To: linux-kernel@vger.kernel.org Cc: pbonzini@redhat.com, mst@redhat.com Subject: [PATCH] vhost: fix build failure on SPARC Date: Mon, 13 Jul 2015 20:15:30 +0200 Message-Id: <1436811330-273019-1-git-send-email-imammedo@redhat.com> In-Reply-To: <1435842491-131872-2-git-send-email-imammedo@redhat.com> References: <1435842491-131872-2-git-send-email-imammedo@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 916 Lines: 30 while on x86 target vmalloc.h is included indirectly through other heaedrs, it's not included on SPARC. Fix issue by including vmalloc.h directly from vhost.c like it's done in vhost/net.c Signed-off-by: Igor Mammedov --- drivers/vhost/vhost.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index 9a68e2e..a9fe859 100644 --- a/drivers/vhost/vhost.c +++ b/drivers/vhost/vhost.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/