Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753352AbZF3NA3 (ORCPT ); Tue, 30 Jun 2009 09:00:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752474AbZF3NAV (ORCPT ); Tue, 30 Jun 2009 09:00:21 -0400 Received: from mail.gmx.net ([213.165.64.20]:39413 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751886AbZF3NAV (ORCPT ); Tue, 30 Jun 2009 09:00:21 -0400 X-Authenticated: #14349625 X-Provags-ID: V01U2FsdGVkX1/KZ8ZGSBfKG0qV+ns1OMrDwJzCuJ1LNZNlrDSS4B sJ5kPUfztXTSLl Subject: Re: [patch] x86: fix arch/x86/lib/clear_page_64.S::clear_page_c annotation From: Mike Galbraith To: Alexander van Heukelum Cc: LKML , Ingo Molnar , Cyrill Gorcunov In-Reply-To: <1246362139.20020.1322822615@webmail.messagingengine.com> References: <1246359240.6103.34.camel@marge.simson.net> <1246362139.20020.1322822615@webmail.messagingengine.com> Content-Type: text/plain Date: Tue, 30 Jun 2009 15:00:20 +0200 Message-Id: <1246366820.6538.1.camel@marge.simson.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.1.1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.48 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1637 Lines: 59 On Tue, 2009-06-30 at 13:42 +0200, Alexander van Heukelum wrote: > Hi Mike, > > I agree with the code, but I do have a remark... > > The ENTRY() macro already includes the ALIGN, so you could get > rid of the preceding ALIGN. But it's just a neatness thing, because > two consecutive ALIGNS don't change the resulting binary. > > At any rate: > > Acked-by: Alexander van Heukelum > > (maybe the x86-committer feels comfortable enough to remove the ALIGN ;) > ) No doubt, but I can save him the trouble ;-) x86: fix incorrect arch/x86/lib/clear_page_64.S::clear_page_c annotation. Signed-off-by: Mike Galbraith Acked-by: Alexander van Heukelum Cc: Ingo Molnar Cc: Cyrill Gorcunov LKML-Reference: --- arch/x86/lib/clear_page_64.S | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Index: linux-2.6/arch/x86/lib/clear_page_64.S =================================================================== --- linux-2.6.orig/arch/x86/lib/clear_page_64.S +++ linux-2.6/arch/x86/lib/clear_page_64.S @@ -5,15 +5,14 @@ * Zero a page. * rdi page */ - ALIGN -clear_page_c: +ENTRY(clear_page_c) CFI_STARTPROC movl $4096/8,%ecx xorl %eax,%eax rep stosq ret CFI_ENDPROC -ENDPROC(clear_page) +ENDPROC(clear_page_c) ENTRY(clear_page) CFI_STARTPROC -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/