summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-03-22 23:28:54 +0100
committerLudovic Courtès <ludo@gnu.org>2012-03-22 23:28:54 +0100
commit809f7720aa0c1704e821ce31b147765c9676f0e6 (patch)
treeb30d17dac50b6691b64b12c9b1e7fcea4311faa4 /i386
parent84bf93fa103eb9e2ed914b67cd5d2c7058d30b42 (diff)
Refer to `PFN_LIST' on Xen only.
* i386/i386/i386asm.sym (PFN_LIST): Enclose in #ifdef MACH_XEN. Thanks to Samuel Thibault for the suggestion.
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/i386asm.sym2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/i386asm.sym b/i386/i386/i386asm.sym
index 9449370..c4e4648 100644
--- a/i386/i386/i386asm.sym
+++ b/i386/i386/i386asm.sym
@@ -94,7 +94,7 @@ expr VM_MIN_ADDRESS
expr VM_MAX_ADDRESS
expr VM_MIN_KERNEL_ADDRESS KERNELBASE
expr KERNEL_STACK_SIZE
-#if VM_MIN_KERNEL_ADDRESS == LINEAR_MIN_KERNEL_ADDRESS
+#if defined MACH_XEN && (VM_MIN_KERNEL_ADDRESS == LINEAR_MIN_KERNEL_ADDRESS)
expr PFN_LIST pfn_list
#endif