[LINUX] Fix i386 build -- define max_mapnr in mfn_to_pfn().
authorkfraser@dhcp93.uk.xensource.com <kfraser@dhcp93.uk.xensource.com>
Tue, 20 Jun 2006 12:42:08 +0000 (13:42 +0100)
committerkfraser@dhcp93.uk.xensource.com <kfraser@dhcp93.uk.xensource.com>
Tue, 20 Jun 2006 12:42:08 +0000 (13:42 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/page.h

index 0c441209a5b71a54ef3cfa41a1364607a6c40a82..1b2494047ae397f844bda853b71173669b991d5a 100644 (file)
@@ -84,6 +84,7 @@ static inline int phys_to_machine_mapping_valid(unsigned long pfn)
 
 static inline unsigned long mfn_to_pfn(unsigned long mfn)
 {
+       extern unsigned long max_mapnr;
        unsigned long pfn;
 
        if (xen_feature(XENFEAT_auto_translated_physmap))