Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761236AbZFMHEh (ORCPT ); Sat, 13 Jun 2009 03:04:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760777AbZFMHET (ORCPT ); Sat, 13 Jun 2009 03:04:19 -0400 Received: from 60-248-182-106.HINET-IP.hinet.net ([60.248.182.106]:44513 "EHLO mswedge2.sunplus.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760871AbZFMHES (ORCPT ); Sat, 13 Jun 2009 03:04:18 -0400 In-Reply-To: <20090609191826.GD7181@uranus.ravnborg.org> To: Sam Ravnborg Cc: Andrew Morton , Arnd Bergmann , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org MIME-Version: 1.0 Subject: Re: [PATCH 19/27] score: create kernel files asm-offsets.c entry.S head.S X-Mailer: Lotus Notes Release 6.5 September 26, 2003 Message-ID: From: liqin.chen@sunplusct.com Date: Sat, 13 Jun 2009 14:58:33 +0800 X-MIMETrack: Serialize by Router on ctmail01/SunplusCT(Release 7.0.3FP1|February 24, 2008) at 2009/06/13 ?? 02:58:33, Serialize complete at 2009/06/13 ?? 02:58:33 Content-Type: text/plain; charset="GB2312" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by alpha.home.local id n5D75Y54011873 Content-Length: 839 Lines: 29 Sam Ravnborg д?? 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 > > + > > + .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?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?