Hi Kumar,

[sorry for the slow reply]

On Wed, 25 Jul 2007 01:49:04 -0500 (CDT) Kumar Gala <[EMAIL PROTECTED]> wrote:
>
> Paul said you were looking into this issue as well.  Wanted to post what I
> did on ppc32/e500 as a start for you to look at.  I think the other ppc32
> head*.S can follow the same pattern if we like this.  However, wasn't sure
> how to do _ENTRY() for ppc64.

What I have done so far is to put some peices of the asm code into
the .text.init.refok section (see the _INIT_STATIC macro in asm/ppc_asm.h
in the current kernel).  I was hoping to separate some of the asm into a
new file (init_64.S) that would contain this and other code in
the .init.text section.  That is currently not working (ld crashed on
me :-)).

Even if you create a .text.head, you will need to teach modpost about it.
-- 
Cheers,
Stephen Rothwell                    [EMAIL PROTECTED]
http://www.canb.auug.org.au/~sfr/

Attachment: pgp3AE6afkP43.pgp
Description: PGP signature

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to