early_ioremap and early_iounmap

From: leo kirotawa <hidden>
Date: 2013-02-05 11:13:45

Hi,
I'm trying to do some maps in early kernel boot and grab some error when I
try unmap a pointer/memory that mapped it before. Basically it shows me the
message: size is not consistent.

I'm maping it like this: table = early_ioremap(offset_address, table_size);
and unmap it : early_iounmap(table, table_size);

What to me seems the correct. I also try this way: early_iounmap(table,
sizeof(*table)); but the same error is shown. Does anyone have any idea
about using ioremap and iounmap?

Thanks,
Leo.



-- 
"smile and wave" - =D + o/ (Penguins of Madagascar)

?????????
??????????????.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130205/a7e7928b/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help