|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [IA64] frametable_miss only exists when C
# 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 <=
|
|
|
|
|