[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Improving Performance



Hi Michael,

On Sat, Mar 15, 2014 at 7:29 PM, schmitz
<schmitz@biophys.uni-duesseldorf.de> wrote:
> The problem is - it dies when calling ioremap:
>
>                stram_virt_offset = ioremap(stram_pool.start,
>                                resource_size(&stram_pool) - stram_pool.start);

Why do you subtract stram_pool.start from the size again?

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


Reply to: