Subject: Re: [PATCH] powerpc: Avoid integer overflow in page_is_ram()

From: Roland Dreier <[email-masked]>
Date: Mon, 15 Sep 2008 15:51:35 -0700

> > #ifndef CONFIG_PPC64	/* XXX for now */
 > > -	return paddr < __pa(high_memory);
 > > +	return pfn < max_pfn;
 > > #else
 > > +	unsigned long paddr = (pfn << PAGE_SHIFT);
 > 
 > seems like this could be a phys_addr_t

Yes, it could I guess, but that would be an unrelated change, and I'm
not sure there's much point given this is in 64-bit-only code.

 - R.