lkml.org 
[lkml]   [2004]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: IA32 (2.6.9 - 2004-10-20.21.30) - 11 New warnings (gcc 3.2.2)
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.044 / U:1.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site