Thread (2 messages) flat view 2 messages, 2 authors, 2008-10-07

Re: Trying to vfree() nonexistent vm area

From: selvamuthukumar v <hidden>
Date: 2008-10-07 14:51:16

///////////////////////
Below is outline of the driver

init:
   ppc_base = (unsigned long) ioremap_nocache(PPC_BASE, PPC_SIZE);

//     ppc_base = (unsigned long) ioremap(PPC_BASE, PPC_SIZE);    // failure
with this way too


close:
  iounmap((void __iomem *)ppc_base);
//    iounmap(PPC_BASE);        // failure with this way too !
init and close seems to be wrong combinations. You can try,

open - ioremap
close - iounmap

or

init - ioremap
exit - iounmap

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