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