fixed generic page.h for non-zero PAGE_OFFSET
authorMark Salter <msalter@redhat.com>
Tue, 4 Oct 2011 13:24:15 +0000 (09:24 -0400)
committerMark Salter <msalter@redhat.com>
Thu, 6 Oct 2011 23:47:16 +0000 (19:47 -0400)
asm-generic/page.h had several problems when used with a non-zero PAGE_OFFSET.
This patch adds a default ARCH_PFN_OFFSET and fixes the __va, __pa, and
pfn_valid macros to work with non-zero PAGE_OFFSETs.

Signed-off-by: Mark Salter <msalter@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>

No differences found