Re: Ooops in kmalloc from request_region

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

 



Liam,

    You can't call kmalloc that early in the startup process.  Look at main.c,
and init_IRQ comes before any of the memory initialization.

    Steve

Liam Davies wrote:

> I am currently at the stage of calling request_region in my irq_setup
> function.
> The call to request_region does a kmalloc which oops. The box has 256Mb Ram.
>
> Is this the right stage to be doing this call? Is there something that I
> have missed
> in setting up the memory regions or paging?
>



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux