public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] v850: Define pfn_valid
@ 2005-07-20  8:38 Miles Bader
  0 siblings, 0 replies; only message in thread
From: Miles Bader @ 2005-07-20  8:38 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel

Signed-off-by: Miles Bader <miles@gnu.org>

 include/asm-v850/page.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff -ruN -X../cludes linux-2.6.12-uc0/include/asm-v850/page.h linux-2.6.12-uc0-v850-20050720/include/asm-v850/page.h
--- linux-2.6.12-uc0/include/asm-v850/page.h	2003-04-21 10:53:17.281477000 +0900
+++ linux-2.6.12-uc0-v850-20050720/include/asm-v850/page.h	2005-07-20 17:10:08.902014000 +0900
@@ -1,8 +1,8 @@
 /*
  * include/asm-v850/page.h -- VM ops
  *
- *  Copyright (C) 2001,02,03  NEC Electronics Corporation
- *  Copyright (C) 2001,02,03  Miles Bader <miles@gnu.org>
+ *  Copyright (C) 2001,02,03,05  NEC Electronics Corporation
+ *  Copyright (C) 2001,02,03,05  Miles Bader <miles@gnu.org>
  *
  * This file is subject to the terms and conditions of the GNU General
  * Public License.  See the file COPYING in the main directory of this
@@ -132,6 +132,7 @@
 
 #define pfn_to_page(pfn)	virt_to_page (pfn_to_virt (pfn))
 #define page_to_pfn(page)	virt_to_pfn (page_to_virt (page))
+#define pfn_valid(pfn)	        ((pfn) < max_mapnr)
 
 #define	virt_addr_valid(kaddr)						\
   (((void *)(kaddr) >= (void *)PAGE_OFFSET) && MAP_NR (kaddr) < max_mapnr)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-20  8:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-20  8:38 [PATCH] v850: Define pfn_valid Miles Bader

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox