diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-09 07:45:33 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-16 05:07:02 -0400 |
commit | b3fe124389f9dd97f0bbd954da2910e286648f0f (patch) | |
tree | 2765275735d72be7f040dfc239edd66109e44d27 /arch/x86/xen | |
parent | 9c8a4420444801bd9d818f542eb4a5be8d5687f0 (diff) |
xen64: fix build error on 32-bit + !HIGHMEM
fix:
arch/x86/xen/enlighten.c: In function 'xen_set_fixmap':
arch/x86/xen/enlighten.c:1127: error: 'FIX_KMAP_BEGIN' undeclared (first use in this function)
arch/x86/xen/enlighten.c:1127: error: (Each undeclared identifier is reported only once
arch/x86/xen/enlighten.c:1127: error: for each function it appears in.)
arch/x86/xen/enlighten.c:1127: error: 'FIX_KMAP_END' undeclared (first use in this function)
make[1]: *** [arch/x86/xen/enlighten.o] Error 1
make: *** [arch/x86/xen/enlighten.o] Error 2
FIX_KMAP_BEGIN is only available on HIGHMEM.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/xen')
-rw-r--r-- | arch/x86/xen/enlighten.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 776c0fb77d69..3da6acb7eafc 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -1124,7 +1124,9 @@ static void xen_set_fixmap(unsigned idx, unsigned long phys, pgprot_t prot) | |||
1124 | #ifdef CONFIG_X86_32 | 1124 | #ifdef CONFIG_X86_32 |
1125 | case FIX_WP_TEST: | 1125 | case FIX_WP_TEST: |
1126 | case FIX_VDSO: | 1126 | case FIX_VDSO: |
1127 | # ifdef CONFIG_HIGHMEM | ||
1127 | case FIX_KMAP_BEGIN ... FIX_KMAP_END: | 1128 | case FIX_KMAP_BEGIN ... FIX_KMAP_END: |
1129 | # endif | ||
1128 | #else | 1130 | #else |
1129 | case VSYSCALL_LAST_PAGE ... VSYSCALL_FIRST_PAGE: | 1131 | case VSYSCALL_LAST_PAGE ... VSYSCALL_FIRST_PAGE: |
1130 | #endif | 1132 | #endif |