Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932251AbWJEVrf (ORCPT ); Thu, 5 Oct 2006 17:47:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932293AbWJEVrN (ORCPT ); Thu, 5 Oct 2006 17:47:13 -0400 Received: from smtp009.mail.ukl.yahoo.com ([217.12.11.63]:58020 "HELO smtp009.mail.ukl.yahoo.com") by vger.kernel.org with SMTP id S932251AbWJEVlz (ORCPT ); Thu, 5 Oct 2006 17:41:55 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Received:From:Subject:Date:To:Cc:Bcc:Message-Id:In-Reply-To:References:Content-Type:Content-Transfer-Encoding:User-Agent; b=HOyhGgLG0RRpuvdrcn0psRA5awMPi5q6rDo3sCAxFLMU8BJIWD/ZA0cg/KVirUPbWNr4v1WxoxuKqcEAD2KYp2NVegIIOPdv6+GKosUJh1vHFxX+SC3tk+ojPNTcmI7AFzJBIMOlgnZK8VTUkfrYwOMtcDCs6QxZM30eK2lv/+Q= ; From: "Paolo 'Blaisorblade' Giarrusso" Subject: [PATCH 07/14] uml: fix processor selection to exclude unsupported processors and features Date: Thu, 05 Oct 2006 23:38:55 +0200 To: Andrew Morton Cc: Jeff Dike , linux-kernel@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net Message-Id: <20061005213855.17268.40985.stgit@memento.home.lan> In-Reply-To: <20061005213212.17268.7409.stgit@memento.home.lan> References: <20061005213212.17268.7409.stgit@memento.home.lan> Content-Type: text/plain; charset=utf-8; format=fixed Content-Transfer-Encoding: 8bit User-Agent: StGIT/0.9 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1522 Lines: 44 From: Paolo 'Blaisorblade' Giarrusso Makes UML compile on any possible processor choice. The two problems were: *) x86 code, when 386 is selected, checks at runtime boot_cpuflags, which we do not have. *) 3Dnow support for memcpy() et al. does not compile currently and fixing this is not trivial, so simply disable it; with this change, if one selects MK7 UML compiles (while it did not). Signed-off-by: Paolo 'Blaisorblade' Giarrusso --- arch/i386/Kconfig.cpu | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/i386/Kconfig.cpu b/arch/i386/Kconfig.cpu index 21c9a4e..fc4f2ab 100644 --- a/arch/i386/Kconfig.cpu +++ b/arch/i386/Kconfig.cpu @@ -7,6 +7,7 @@ choice config M386 bool "386" + depends on !UML ---help--- This is the processor type of your CPU. This information is used for optimizing purposes. In order to compile a kernel that can run on @@ -301,7 +302,7 @@ config X86_USE_PPRO_CHECKSUM config X86_USE_3DNOW bool - depends on MCYRIXIII || MK7 || MGEODE_LX + depends on (MCYRIXIII || MK7 || MGEODE_LX) && !UML default y config X86_OOSTORE Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com - 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/