Trying to vfree() nonexistent vm area
selvamuthukumar v
v.selvamuthukumar at gmail.com
Wed Oct 8 01:51:13 EST 2008
> ///////////////////////
> 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
More information about the Linuxppc-embedded
mailing list