|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-ia64-devel] [PATCH] frametable_miss only exists when CONFIG_VIRTUAL
1 file changed, 4 insertions(+), 3 deletions(-)
xen/arch/ia64/xen/xenpatch.c | 7 ++++---
# HG changeset patch
# User Aron Griffis <aron@xxxxxx>
# Date 1183382996 14400
# Node ID 128a4a10373528836fa03ea7737558a73dbfcde7
# Parent 877aa0a215fb71aa4f2c0e0ff5baa56f20a1ab5f
frametable_miss only exists when CONFIG_VIRTUAL_FRAME_TABLE
Tested by building without CONFIG_VIRTUAL_FRAME_TABLE
Signed-off-by: Aron Griffis <aron@xxxxxx>
diff -r 877aa0a215fb -r 128a4a103735 xen/arch/ia64/xen/xenpatch.c
--- a/xen/arch/ia64/xen/xenpatch.c Mon Jul 02 09:28:55 2007 -0400
+++ b/xen/arch/ia64/xen/xenpatch.c Mon Jul 02 09:29:56 2007 -0400
@@ -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-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-ia64-devel] [PATCH] frametable_miss only exists when CONFIG_VIRTUAL_FRAME_TABLE,
Aron Griffis <=
|
|
|
|
|