[ARM-LINUX]Booting is stopped at "CPSIE" instruction

sandeep kumar coolsandyforyou at gmail.com
Tue Apr 2 02:05:24 EDT 2013


Hi all
I am trying to port opensource kernel on top of Qualcomm board.
I am struck at "local_irq_enable()" point in init/main.c,

start_kernel()
{
   --- snip ---
   call_function_init();
if (!irqs_disabled())
printk(KERN_CRIT "start_kernel(): bug: interrupts were "
 "enabled early\n");
early_boot_irqs_disabled = false;
 local_irq_enable();
}

This functions implementation is like this...

static inline void arch_local_irq_enable(void)
  {
      asm volatile(
          "   cpsie i         @ arch_local_irq_enable"
          :
          :
          : "memory", "cc");
  }

if i comment that local_irq_enable(), still the booting is not progressing.

Can any one pls help me out here??

-- 
With regards,
Sandeep Kumar Anantapalli,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130402/8a936631/attachment.html 


More information about the Kernelnewbies mailing list