Thread (32 messages) 32 messages, 6 authors, 2009-01-23

Re: [PATCH 2/4 v8] i.MX31: Image Processing Unit DMA and IRQ drivers

From: Russell King - ARM Linux <hidden>
Date: 2009-01-23 13:08:05

On Fri, Jan 23, 2009 at 02:01:53PM +0100, Valentin Longchamp wrote:
However, they all have the same "look" so to say: no real ARM assembly
instruction but only addresses as Russel pointed it before:
quoted
c0019390 <__initcall_misc_init4>:
c0019390:       c001349c        .word   0xc001349c

c0019394 <__initcall_ipu_init4>:
c0019394:       c0014258        .word   0xc0014258

c0019398 <__initcall_proto_init4>:
c0019398:       c00143e4        .word   0xc00143e4
This may be the reason why these initcall are not actually called:
Guennadi's ones had a real ARM assembly instruction. To solve all my
problems I need to understand why my subsys_initcall do not get called.
You really haven't understood the point.  In both cases, they are
ADDRESSES not INSTRUCTIONS.  They _must_ always be addresses since
they are _pointers_ _to_ _functions_.

So there's nothing wrong with what you show above.

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help