linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* remap_page_range not resolved
@ 2005-07-07 21:58 Bizhan Gholikhamseh (bgholikh)
  2005-07-07 22:09 ` David Woodhouse
  2005-07-08  2:04 ` Kumar Gala
  0 siblings, 2 replies; 4+ messages in thread
From: Bizhan Gholikhamseh (bgholikh) @ 2005-07-07 21:58 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 412 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1248 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: remap_page_range not resolved
  2005-07-07 21:58 remap_page_range not resolved Bizhan Gholikhamseh (bgholikh)
@ 2005-07-07 22:09 ` David Woodhouse
  2005-07-08  2:04 ` Kumar Gala
  1 sibling, 0 replies; 4+ messages in thread
From: David Woodhouse @ 2005-07-07 22:09 UTC (permalink / raw)
  To: Bizhan Gholikhamseh (bgholikh); +Cc: linuxppc-embedded

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: remap_page_range not resolved
  2005-07-07 21:58 remap_page_range not resolved Bizhan Gholikhamseh (bgholikh)
  2005-07-07 22:09 ` David Woodhouse
@ 2005-07-08  2:04 ` Kumar Gala
  2005-07-08 17:26   ` Ralph Siemsen
  1 sibling, 1 reply; 4+ messages in thread
From: Kumar Gala @ 2005-07-08  2:04 UTC (permalink / raw)
  To: Bizhan Gholikhamseh \(bgholikh\); +Cc: linuxppc-embedded

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: remap_page_range not resolved
  2005-07-08  2:04 ` Kumar Gala
@ 2005-07-08 17:26   ` Ralph Siemsen
  0 siblings, 0 replies; 4+ messages in thread
From: Ralph Siemsen @ 2005-07-08 17:26 UTC (permalink / raw)
  To: Kumar Gala; +Cc: Bizhan Gholikhamseh \(bgholikh\), linuxppc-embedded

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-07-08 17:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-07 21:58 remap_page_range not resolved Bizhan Gholikhamseh (bgholikh)
2005-07-07 22:09 ` David Woodhouse
2005-07-08  2:04 ` Kumar Gala
2005-07-08 17:26   ` Ralph Siemsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).