
A few users of these functions take const args, and warn when they call
these.  Making these const too doesn't hurt anything.

Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
---

 memhotplug-dave/include/linux/nonlinear.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN include/linux/nonlinear.h~C7-nonlinear-consts include/linux/nonlinear.h
--- memhotplug/include/linux/nonlinear.h~C7-nonlinear-consts	2004-10-08 00:14:53.000000000 -0700
+++ memhotplug-dave/include/linux/nonlinear.h	2004-10-08 00:14:53.000000000 -0700
@@ -84,7 +84,7 @@ section_offset_pfn(unsigned long pfn)
 }
 
 static inline unsigned long
-__pa(void *ptr_addr)
+__pa(const void *ptr_addr)
 {
 	unsigned long addr = (unsigned long)ptr_addr;
 	return section_to_addr(mem_section[addr_to_section(addr-PAGE_OFFSET)].phys_section) |
@@ -92,7 +92,7 @@ __pa(void *ptr_addr)
 }
 
 static inline void *
-__va(unsigned long addr)
+__va(const unsigned long addr)
 {
 	return (void *)(section_to_addr(phys_section[addr_to_section(addr)]) |
 		section_offset(addr)) + PAGE_OFFSET;
_
