Re: [PATCH 19/27] score: create kernel files asm-offsets.c entry.S head.S

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

 



Sam Ravnborg <sam@xxxxxxxxxxxx> 写于 2009-06-10 03:18:26:

> > new file mode 100644
> > index 0000000..a7432c1
> > --- /dev/null
> > +++ b/arch/score/kernel/head.S
> > @@ -0,0 +1,70 @@
> > +#include <asm/asm-offsets.h>
> > +
> > +       .extern start_kernel
> > +       .global init_thread_union
> > +       .global kernelsp
> > +
> > +       .section .init.text, "ax"
> 
> Please use section definitions from include/linux/init.h.
> __INIT in this case.
> 
> Other architectures uses __HEAD so they have full control
> on where to add this code in the final image.
> 

Thanks Sam, I used macro define in linux/init.h instead of 
the code in all .S files.

Best Regards
Liqin
--
?韬{.n?????%??檩??w?{.n???{饼??Ф?塄}?财??j:+v??????2??璀??摺?囤??z夸z罐?+?????w棹f


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux