|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [xen:devel/pvh.v6 12/14] include/xen/xen-ops.h:29:11: error: unknown type name 'xen_pfn_t'
On Tue, 2012-10-30 at 04:57 +0000, kbuild test robot wrote:
> tree: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git
> devel/pvh.v6
> head: a50658f644f72b42da86c9fd98bafc29fe00c039
> commit: 3b4afca66dc25918f6a48f30712a9dfec042fdf3 [12/14] xen: correctly use
> xen_pfn_t in remap_domain_mfn_range.
> config: x86_64-randconfig-x370 (attached as .config)
>
> All error/warnings:
>
> In file included from arch/x86/xen/xen-ops.h:7:0,
> from arch/x86/xen/platform-pci-unplug.c:27:
> include/xen/xen-ops.h:29:11: error: unknown type name 'xen_pfn_t'
Thanks Fengguang.
Konrad, here is the fix. If this is in a rebasing branch feel free to
fold into the relevant patch.
8<-------------------------------------------------------
>From 197db260e4821cb21cbd0a5f4f0b298ca9b05672 Mon Sep 17 00:00:00 2001
From: Ian Campbell <ijc@xxxxxxxxxxxxxx>
Date: Tue, 30 Oct 2012 07:49:39 +0100
Subject: [PATCH] xen: include correct header for xen_pfn_t definition.
Fixes build breakage:
In file included from arch/x86/xen/xen-ops.h:7:0,
from arch/x86/xen/platform-pci-unplug.c:27:
include/xen/xen-ops.h:29:11: error: unknown type name 'xen_pfn_t'
Signed-off-by: Ian Campbell <ijc@xxxxxxxxxxxxxx>
Reported-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
include/xen/xen-ops.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/xen/xen-ops.h b/include/xen/xen-ops.h
index ee188eb..a50e7be 100644
--- a/include/xen/xen-ops.h
+++ b/include/xen/xen-ops.h
@@ -2,6 +2,7 @@
#define INCLUDE_XEN_OPS_H
#include <linux/percpu.h>
+#include <asm/xen/interface.h>
DECLARE_PER_CPU(struct vcpu_info *, xen_vcpu);
--
1.7.10.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |