
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	2005-01-04 13:49:34.000000000 -0800
+++ memhotplug-dave/include/linux/nonlinear.h	2005-01-04 13:49:34.000000000 -0800
@@ -86,7 +86,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;
 	BUG_ON(mem_section[addr_to_section(addr-PAGE_OFFSET)].phys_section == INVALID_SECTION);
@@ -95,7 +95,7 @@ __pa(void *ptr_addr)
 }
 
 static inline void *
-__va(unsigned long addr)
+__va(const unsigned long addr)
 {
 	BUG_ON(phys_section[addr_to_section(addr)] == INVALID_PHYS_SECTION);
 	return (void *)(section_to_addr(phys_section[addr_to_section(addr)]) |
_
