xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Re: [xen:devel/pvh.v6 12/14] include/xen/xen-ops.h:29:11: error: unknown type name 'xen_pfn_t'
       [not found] <508f5e30.nBE8jAB0oQuFgwhi%fengguang.wu@intel.com>
@ 2012-10-30  6:51 ` Ian Campbell
  0 siblings, 0 replies; only message in thread
From: Ian Campbell @ 2012-10-30  6:51 UTC (permalink / raw)
  To: kbuild test robot, Konrad Rzeszutek Wilk; +Cc: xen-devel

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@hellion.org.uk>
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@hellion.org.uk>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
---
 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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-30  6:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <508f5e30.nBE8jAB0oQuFgwhi%fengguang.wu@intel.com>
2012-10-30  6:51 ` [xen:devel/pvh.v6 12/14] include/xen/xen-ops.h:29:11: error: unknown type name 'xen_pfn_t' Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).