Messages in this thread | | | Subject | Re: [PATCH 19/27] score: create kernel files asm-offsets.c entry.S head.S | From | liqin.chen@sunplusc ... | Date | Sat, 13 Jun 2009 14:58:33 +0800 |
| |
Sam Ravnborg <sam@ravnborg.org> 写于 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 --
| |