[Patch] uml: fix undeclared variables

From: AmÃrico Wang
Date: Tue Nov 18 2008 - 12:43:30 EST



Fix three compile errors about undeclared variables in
arch/um/kernel/mem.c.

Signed-off-by: WANG Cong <wangcong@xxxxxxxxx>
Cc: Jeff Dike <jdike@xxxxxxxxxxx>
Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx>


---
diff --git a/arch/um/include/asm/fixmap.h b/arch/um/include/asm/fixmap.h
index 69c0252..0af143d 100644
--- a/arch/um/include/asm/fixmap.h
+++ b/arch/um/include/asm/fixmap.h
@@ -41,6 +41,9 @@ enum fixed_addresses {
__end_of_fixed_addresses
};

+extern pte_t *pkmap_page_table;
+extern pte_t *kmap_pte;
+extern pgprot_t kmap_prot;
extern void __set_fixmap (enum fixed_addresses idx,
unsigned long phys, pgprot_t flags);

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/