From patchwork Fri Oct 22 15:48:04 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Namhyung Kim X-Patchwork-Id: 274441 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o9MFmLTw009878 for ; Fri, 22 Oct 2010 15:48:23 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757469Ab0JVPsU (ORCPT ); Fri, 22 Oct 2010 11:48:20 -0400 Received: from mail-pw0-f46.google.com ([209.85.160.46]:46079 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755380Ab0JVPsT (ORCPT ); Fri, 22 Oct 2010 11:48:19 -0400 Received: by pwj3 with SMTP id 3so292501pwj.19 for ; Fri, 22 Oct 2010 08:48:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=sEm7Bgv0AD/URycfIORRmnZekEK8MZv4T+j/qu9wHkA=; b=uu8GnVvxPUl53piP6xsIw7S0xAPAFZle6M3dqsO7M/Bxz+EkrTgopY3G74CAEX5RhR iYcMn0rjkUjxpBSj3vD7BB2f0c4qs00tJChZYPDCvt5ULCu05x2oQ/dfoaXx83yb01OY cdePFUGjkNZic9eJ5Nb9kDmJpiMYoWBt2JEco= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=kpfwoldWA/lpe5L/n4gzY37eenhXKcqbHYGuTVAFz+FeyOY6IDjAgihVOT3QrbCnZD eumvm2PtMYdwOdaor24UP1LbFVrytJLXVUcc4eTGQZ0YyuvVsVSGea7wehpiwdHoXpjv BI9xcbdW9t+DkhqwKtD9ifHrJV7dh/Yf9m1B0= Received: by 10.229.214.194 with SMTP id hb2mr2289292qcb.234.1287762498223; Fri, 22 Oct 2010 08:48:18 -0700 (PDT) Received: from localhost.localdomain ([211.201.183.198]) by mx.google.com with ESMTPS id s34sm2711042qcp.32.2010.10.22.08.48.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 22 Oct 2010 08:48:16 -0700 (PDT) From: Namhyung Kim To: Roman Zippel Cc: linux-kbuild@vger.kernel.org, "David S. Miller" , linux-kernel@vger.kernel.org Subject: [PATCH] kconfig: don't select 64 bit option on sparc32 all{yes, mod}config Date: Sat, 23 Oct 2010 00:48:04 +0900 Message-Id: <1287762484-8154-1-git-send-email-namhyung@gmail.com> X-Mailer: git-send-email 1.7.0.4 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Fri, 22 Oct 2010 15:48:25 +0000 (UTC) diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index 515253f..9820c77 100644 --- a/scripts/kconfig/confdata.c +++ b/scripts/kconfig/confdata.c @@ -1018,6 +1018,10 @@ void conf_set_all_new_symbols(enum conf_def_mode mode) break; } + /* Do not set 64 bit option when sparc32 allyesconfig */ + if (sym->name && strcmp(sym->name, "64BIT") == 0 && + strcmp(getenv("ARCH"), "sparc") == 0) + sym->def[S_DEF_USER].tri = no; } sym_clear_all_valid();