WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] frametable_miss only exists when C

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] frametable_miss only exists when CONFIG_VIRTUAL_FRAME_TABLE
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 27 Jul 2007 02:53:14 -0700
Delivery-date: Fri, 27 Jul 2007 02:51:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1183392937 21600
# Node ID baffe3497542530af293facbdd38dc9053a4f869
# Parent  4d6cdebfb17357ddd7c3b4d09c46f16dd851aa03
[IA64] frametable_miss only exists when CONFIG_VIRTUAL_FRAME_TABLE

Tested by building without CONFIG_VIRTUAL_FRAME_TABLE

Signed-off-by: Aron Griffis <aron@xxxxxx>
---
 xen/arch/ia64/xen/xenpatch.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff -r 4d6cdebfb173 -r baffe3497542 xen/arch/ia64/xen/xenpatch.c
--- a/xen/arch/ia64/xen/xenpatch.c      Mon Jul 02 10:13:54 2007 -0600
+++ b/xen/arch/ia64/xen/xenpatch.c      Mon Jul 02 10:15:37 2007 -0600
@@ -90,25 +90,26 @@ ia64_patch_imm64 (u64 insn_addr, u64 val
        ia64_patch(insn_addr + 1, 0x1ffffffffffUL, val >> 22);
 }
 
-extern char frametable_miss;
-extern unsigned long xen_pstart;
-
 /*
  * Add more patch points in seperate functions as appropriate
  */
 
 static void __init xen_patch_frametable_miss(u64 offset)
 {
+#ifdef CONFIG_VIRTUAL_FRAME_TABLE
+       extern char frametable_miss;
        u64 addr, val;
 
        addr = (u64)&frametable_miss;
        val = get_imm64(addr) + offset;
        ia64_patch_imm64(addr, val);
+#endif
 }
 
 
 void __init xen_patch_kernel(void)
 {
+       extern unsigned long xen_pstart;
        unsigned long patch_offset;
 
        patch_offset = xen_pstart - (KERNEL_START - PAGE_OFFSET);

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] frametable_miss only exists when CONFIG_VIRTUAL_FRAME_TABLE, Xen patchbot-unstable <=