remap_page_range not resolved

4 messages, 4 authors, 2005-07-08 · open the first message on its own page

remap_page_range not resolved

From: Bizhan Gholikhamseh (bgholikh) <hidden>
Date: 2005-07-07 22:08:11

Hi All,
I am porting a Linux PCI driver originally developed for X86 platform to
MPC8540ADS reference  board by Freescale running 2.6 Linux. 
The "insmod" command fails when I am trying to load the module. The
failure is because the reference to a function name can not be resolved:
"remap_page_range"
Could someone help me please to find out what I am missing from my
kernel image?
 
Regards,
Bizhan

Re: remap_page_range not resolved

From: David Woodhouse <dwmw2@infradead.org>
Date: 2005-07-07 22:10:44

On Thu, 2005-07-07 at 14:58 -0700, Bizhan Gholikhamseh (bgholikh) wrote:
I am porting a Linux PCI driver originally developed for X86 platform to
MPC8540ADS reference  board by Freescale running 2.6 Linux. 
The "insmod" command fails when I am trying to load the module. The
failure is because the reference to a function name can not be resolved:
"remap_page_range"
Could someone help me please to find out what I am missing from my
kernel image?
You forgot to include a reference to the source code of the driver
you're having trouble with.

Don't post HTML mail to public fora.

-- 
dwmw2

Re: remap_page_range not resolved

From: Kumar Gala <hidden>
Date: 2005-07-08 02:04:46

This is probably due to the change of remap_page_range to  
remap_pfn_range.  I forget the exact kernel version this was changed in.

- kumar

On Jul 7, 2005, at 4:58 PM, Bizhan Gholikhamseh \\((bgholikh\\)) wrote:
Hi All,
I am porting a Linux PCI driver originally developed for X86  
platform to
MPC8540ADS reference  board by Freescale running 2.6 Linux.
The "insmod" command fails when I am trying to load the module. The
failure is because the reference to a function name can not be  
resolved:
"remap_page_range"
Could someone help me please to find out what I am missing from my
kernel image?

Regards,
Bizhan

<ATT507020.txt>

Re: remap_page_range not resolved

From: Ralph Siemsen <hidden>
Date: 2005-07-08 17:26:31

Kumar Gala wrote:
This is probably due to the change of remap_page_range to  
remap_pfn_range.  I forget the exact kernel version this was changed in.
It just happened in 2.6.12.
http://lwn.net/Articles/129480/

-R
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help