[PATCH] sh: Fix typo in page.h

From: Mark Haverkamp
Date: Thu Sep 07 2006 - 11:53:14 EST


There appears to be a typo in asm-sh/page.h
It was noticed while doing a cross compile test.

Signed-off-by: Mark Haverkamp <markh@xxxxxxxx>

---

--- linux-2.6.orig/include/asm-sh/page.h 2006-06-21 11:49:14.000000000 -0700
+++ linux-2.6/include/asm-sh/page.h 2006-09-07 08:50:53.000000000 -0700
@@ -104,7 +104,7 @@

/* PFN start number, because of __MEMORY_START */
#define PFN_START (__MEMORY_START >> PAGE_SHIFT)
-#define ARCH_PFN_OFFSET (FPN_START)
+#define ARCH_PFN_OFFSET (PFN_START)
#define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
#define pfn_valid(pfn) (((pfn) - PFN_START) < max_mapnr)
#define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)

--
Mark Haverkamp <markh@xxxxxxxx>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/