From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: Re: [PATCH 1/2] Clean up asm-x86_64/bugs.h Date: Mon, 9 Apr 2007 08:45:57 -0700 Message-ID: <20070409084557.28748317.randy.dunlap@oracle.com> References: <4617D339.3080801@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4617D339.3080801@goop.org> Sender: linux-kernel-owner@vger.kernel.org To: Jeremy Fitzhardinge Cc: Andrew Morton , Andi Kleen , Linus Torvalds , Linux Kernel Mailing List , Virtualization Mailing List List-Id: virtualization@lists.linuxfoundation.org On Sat, 07 Apr 2007 10:22:01 -0700 Jeremy Fitzhardinge wrote: > Most of asm-x86_64/bugs.h is code which should be in a C file, so put it there. > > Signed-off-by: Jeremy Fitzhardinge > Cc: Andi Kleen > Cc: Linus Torvalds > > --- > arch/x86_64/kernel/Makefile | 3 ++- > arch/x86_64/kernel/bugs.c | 28 ++++++++++++++++++++++++++++ > include/asm-x86_64/alternative.h | 1 + > include/asm-x86_64/bugs.h | 30 ++++-------------------------- > 4 files changed, 35 insertions(+), 27 deletions(-) > > =================================================================== > --- /dev/null > +++ b/arch/x86_64/kernel/bugs.c > @@ -0,0 +1,28 @@ > +/* > + * arch/x86_64/kernel/bugs.c > + * > + * Copyright (C) 1994 Linus Torvalds > + * Copyright (C) 2000 SuSE > + * > + * This is included by init/main.c to check for architecture-dependent bugs. drop comment. Are you going to tackle asm-i386/bugs.h also? Thanks. --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code ***