[IA64] Compliation work around for sparsemem

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
This commit is contained in:
Alex Williamson committed 2007-05-03 14:14:41 -06:00
1 parent ffca2f0a46
commit 36723573e5
1 file changed
+9
@@ -65,6 +65,15 @@ machine_to_phys_for_dma(unsigned long machine)
return phys;
}
#ifdef CONFIG_SPARSEMEM
/*
* When CONFIG_SPARSEMEM=y, pfn_valid() is defined in
* linux/include/linux/mmzone.h. Hoever #include <linux/mmzone.h>
* causes the header inclusion hell.
*/
static inline int pfn_valid(unsigned long pfn);
#endif
static inline unsigned long
mfn_to_local_pfn(unsigned long mfn)
{
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.