[PATCH] sh: fix FPN_START typo
Not that it passes allmodconfig without it... Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: Paul Mundt <lethal@linux-sh.org> Cc: Kazumoto Kojima <kkojima@rr.iij4u.or.jp> Cc: Mark Haverkamp <markh@osdl.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
4495c9e5ca
commit
67bb2c692c
|
@ -104,7 +104,7 @@ typedef struct { unsigned long pgprot; } pgprot_t;
|
||||||
|
|
||||||
/* PFN start number, because of __MEMORY_START */
|
/* PFN start number, because of __MEMORY_START */
|
||||||
#define PFN_START (__MEMORY_START >> PAGE_SHIFT)
|
#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 virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
|
||||||
#define pfn_valid(pfn) (((pfn) - PFN_START) < max_mapnr)
|
#define pfn_valid(pfn) (((pfn) - PFN_START) < max_mapnr)
|
||||||
#define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
|
#define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
|
||||||
|
|
Loading…
Reference in New Issue