ia64/xen-unstable

changeset 10496:674890dc1ee2

[LINUX] Fix i386 build -- define max_mapnr in mfn_to_pfn().
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@dhcp93.uk.xensource.com
date Tue Jun 20 13:42:08 2006 +0100 (2006-06-20)
parents 7d6fe353cda4
children b6ee2a730139
files linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/page.h
line diff
     1.1 --- a/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/page.h	Tue Jun 20 13:32:21 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/page.h	Tue Jun 20 13:42:08 2006 +0100
     1.3 @@ -84,6 +84,7 @@ static inline int phys_to_machine_mappin
     1.4  
     1.5  static inline unsigned long mfn_to_pfn(unsigned long mfn)
     1.6  {
     1.7 +	extern unsigned long max_mapnr;
     1.8  	unsigned long pfn;
     1.9  
    1.10  	if (xen_feature(XENFEAT_auto_translated_physmap))