]> err.no Git - linux-2.6/commitdiff
x86: unify __set_fixmap, fix
authorIngo Molnar <mingo@elte.hu>
Fri, 20 Jun 2008 13:34:46 +0000 (15:34 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 20 Jun 2008 13:36:57 +0000 (15:36 +0200)
fix build failure:

 arch/x86/mm/pgtable.c:280: warning: ‘enum fixed_addresses’ declared inside parameter list
 arch/x86/mm/pgtable.c:280: warning: its scope is only this definition or declaration, which is probably not what you want
 arch/x86/mm/pgtable.c:280: error: parameter 1 (‘idx’) has incomplete type

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/pgtable.c

index e9fb66361fc8882976ebe1db0c2a098b0a0f931f..892fd1892b8da98d8a00e547443114cf4a5b276b 100644 (file)
@@ -2,6 +2,7 @@
 #include <asm/pgalloc.h>
 #include <asm/pgtable.h>
 #include <asm/tlb.h>
+#include <asm/fixmap.h>
 
 pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address)
 {