Re: IA32 (2.6.9 - 2004-10-20.21.30) - 11 New warnings (gcc 3.2.2)

From: William Lee Irwin III
Date: Fri Oct 22 2004 - 06:12:58 EST


On Thu, 21 Oct 2004, John Cherry wrote:
>>> drivers/char/mem.c:213: warning: `remap_page_range' is deprecated
>>> (declared at include/linux/mm.h:767)

On Thu, 2004-10-21 at 09:44, Richard B. Johnson wrote:
>> Hmmm. What does one use instead??? We still use mmap in drivers
>> or is that going to be removed too?

On Thu, Oct 21, 2004 at 04:22:30PM -0400, Lee Revell wrote:
> remap_pfn_range I think.

remap_pfn_range() has identical functionality. It's been given a
distinct entrypoint name so people don't feed it raw physical addresses
by accident. It is an improvement because its interface doesn't truncate
physical addresses. I've got no idea what happened to the
drivers/char/mem.c hunk of my patch. Just check the archives, and see
that the patches I posted do actually sweep drivers/char/mem.c.


-- wli
-
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/