Skip to contentSkip to conversation

Fix up kvm-powerpc.h in libkvm

PATCH Applied Jerone Young 2 participants 2 messages Jan 2, 2008 – Jan 3, 2008 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix up kvm-powerpc.h in libkvm

# HG changeset patch
# User Jerone Young <jyoung5-r/[email protected]> # Date 1199306048 21600
# Node ID da73eaf107eb8800f27e3bc045a2de28c476b07d
# Parent bf828ac70dde1dfa4f67e4774a884669306423e6
Fix up kvm-powerpc.h in libkvm

This patch fixes up kvm-powerpc.h. Adds proper preamble and use kvm_page_size as opposed to defining the pages size.

libkvm/kvm-powerpc.h +12 -6
@@ -1,13 +1,17 @@
-/*
+/* 
  * This header is for functions & variables that will ONLY be
- * used inside libkvm for powerpc.
- * THESE ARE NOT EXPOSED TO THE USER AND ARE ONLY FOR USE
+ * used inside libkvm for powerpc. 
+ * THESE ARE NOT EXPOSED TO THE USER AND ARE ONLY FOR USE 
  * WITHIN LIBKVM.
  *
- * Copyright (C) 2007 IBM
+ * Copyright (C) 2006 Qumranet, Inc.
  *
  * Authors:
- *	Jerone Young <jyoung5-r/[email protected]>
+ *	Avi Kivity   <avi-atKUWr5tajBWk0Htik3J/[email protected]>
+ *	Yaniv Kamay  <yaniv-atKUWr5tajBWk0Htik3J/[email protected]>
+ *
+ * Copyright 2007 IBM Corporation.
+ * Added by: Jerone Young <jyoung5-r/[email protected]>
  *
  * This work is licensed under the GNU LGPL license, version 2.
  */
@@ -17,7 +21,9 @@
 
 #include "kvm-common.h"
 
-#define PAGE_SIZE 4096ul
+extern int kvm_page_size;
+
+#define PAGE_SIZE kvm_page_size 
 #define PAGE_MASK (~(PAGE_SIZE - 1))
 
 #endif

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Applied
#1 lore raw
Quoted 10 lines · Jerone Young

# HG changeset patch
# User Jerone Young <jyoung5-r/[email protected]> # Date 1199306048 21600
# Node ID da73eaf107eb8800f27e3bc045a2de28c476b07d
# Parent bf828ac70dde1dfa4f67e4774a884669306423e6
Fix up kvm-powerpc.h in libkvm

This patch fixes up kvm-powerpc.h. Adds proper preamble and use kvm_page_size as opposed to defining the pages size.

Applied, thanks.

Signature · 7 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/