[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] include xen.h in hvmloader's hypercall.h


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Andrew D. Ball" <aball@xxxxxxxxxx>
  • Date: Fri, 11 Aug 2006 17:48:41 -0400
  • Delivery-date: Mon, 14 Aug 2006 08:12:54 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

I needed to include <xen/xen.h> somewhere to use hypercalls outside of
hvmloader.c in tools/firmware/hvmloader.  Looks like hypercall.h should
include it, since it refers to constants from it.

Peace.
Andrew

Include xen.h for __HYPERVISOR* constants.

Signed-off-by: Andrew D. Ball <aball@xxxxxxxxxx>

diff -r 1d817bfc5ed9 tools/firmware/hvmloader/hypercall.h
--- a/tools/firmware/hvmloader/hypercall.h      Fri Aug 11 14:22:54 2006 +0100
+++ b/tools/firmware/hvmloader/hypercall.h      Fri Aug 11 17:17:49 2006 -0400
@@ -27,6 +27,8 @@
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  * IN THE SOFTWARE.
  */
+
+#include <xen/xen.h>
 
 #ifndef __HVMLOADER_HYPERCALL_H__
 #define __HVMLOADER_HYPERCALL_H__



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.